@Namespace(value="tensorflow") @NoOffset public static class tensorflow.AllocationDescription extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kAllocatedBytesFieldNumber |
static int |
kAllocationIdFieldNumber |
static int |
kAllocatorNameFieldNumber |
static int |
kHasSingleReferenceFieldNumber |
static int |
kIndexInFileMessages |
static int |
kPtrFieldNumber |
static int |
kRequestedBytesFieldNumber |
| Constructor and Description |
|---|
AllocationDescription() |
AllocationDescription(long size)
Native array allocator.
|
AllocationDescription(Pointer p)
Pointer cast constructor.
|
AllocationDescription(tensorflow.AllocationDescription from) |
AppendPartialToString, AppendToString, ByteSize, CheckTypeAndMergeFrom, GetTypeName, InitializationErrorString, MergeFromCodedStream, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArrayaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int kIndexInFileMessages
public static final int kAllocatorNameFieldNumber
public static final int kRequestedBytesFieldNumber
public static final int kAllocatedBytesFieldNumber
public static final int kAllocationIdFieldNumber
public static final int kPtrFieldNumber
public static final int kHasSingleReferenceFieldNumber
public AllocationDescription(Pointer p)
Pointer.Pointer(Pointer).public AllocationDescription(long size)
Pointer.position(long).public AllocationDescription()
public AllocationDescription(@Const @ByRef tensorflow.AllocationDescription from)
public tensorflow.AllocationDescription position(long position)
@ByRef @Name(value="operator =") public tensorflow.AllocationDescription put(@Const @ByRef tensorflow.AllocationDescription from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.AllocationDescription default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.AllocationDescription internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.AllocationDescription other)
public void Swap(tensorflow.AllocationDescription other)
public tensorflow.AllocationDescription New()
New in class tensorflow.MessageLitepublic tensorflow.AllocationDescription New(tensorflow.Arena arena)
New in class tensorflow.MessageLitepublic void CopyFrom(@Cast(value="const google::protobuf::Message*") @ByRef tensorflow.MessageLite from)
public void MergeFrom(@Cast(value="const google::protobuf::Message*") @ByRef tensorflow.MessageLite from)
public void CopyFrom(@Const @ByRef tensorflow.AllocationDescription from)
public void MergeFrom(@Const @ByRef tensorflow.AllocationDescription from)
public void Clear()
Clear in class tensorflow.MessageLite@Cast(value="bool") public boolean IsInitialized()
IsInitialized in class tensorflow.MessageLite@Cast(value="size_t") public long ByteSizeLong()
ByteSizeLong in class tensorflow.MessageLite@Cast(value="bool") public boolean MergePartialFromCodedStream(tensorflow.CodedInputStream input)
MergePartialFromCodedStream in class tensorflow.MessageLitepublic void SerializeWithCachedSizes(tensorflow.CodedOutputStream output)
SerializeWithCachedSizes in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") BytePointer target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") ByteBuffer target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public byte[] InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") byte[] target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLitepublic int GetCachedSize()
GetCachedSize in class tensorflow.MessageLitepublic void clear_allocator_name()
@MemberGetter public static int kAllocatorNameFieldNumber()
@StdString public BytePointer allocator_name()
public void set_allocator_name(@StdString BytePointer value)
public void set_allocator_name(@StdString String value)
public void set_allocator_name(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_allocator_name()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_allocator_name()
public void set_allocated_allocator_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer allocator_name)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_allocator_name()
@Deprecated public void unsafe_arena_set_allocated_allocator_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer allocator_name)
public void clear_requested_bytes()
@MemberGetter public static int kRequestedBytesFieldNumber()
public void set_requested_bytes(@Cast(value="google::protobuf::int64") long value)
public void clear_allocated_bytes()
@MemberGetter public static int kAllocatedBytesFieldNumber()
public void set_allocated_bytes(@Cast(value="google::protobuf::int64") long value)
public void clear_allocation_id()
@MemberGetter public static int kAllocationIdFieldNumber()
public void clear_ptr()
@MemberGetter public static int kPtrFieldNumber()
public void clear_has_single_reference()
@MemberGetter public static int kHasSingleReferenceFieldNumber()
Copyright © 2019. All rights reserved.