@Namespace(value="tensorflow") @NoOffset public static class tensorflow.AllocatorMemoryUsed extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kAllocationRecordsFieldNumber |
static int |
kAllocatorBytesInUseFieldNumber |
static int |
kAllocatorNameFieldNumber |
static int |
kIndexInFileMessages |
static int |
kLiveBytesFieldNumber |
static int |
kPeakBytesFieldNumber |
static int |
kTotalBytesFieldNumber |
| Constructor and Description |
|---|
AllocatorMemoryUsed() |
AllocatorMemoryUsed(long size)
Native array allocator.
|
AllocatorMemoryUsed(Pointer p)
Pointer cast constructor.
|
AllocatorMemoryUsed(tensorflow.AllocatorMemoryUsed 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 kAllocationRecordsFieldNumber
public static final int kAllocatorNameFieldNumber
public static final int kTotalBytesFieldNumber
public static final int kPeakBytesFieldNumber
public static final int kLiveBytesFieldNumber
public static final int kAllocatorBytesInUseFieldNumber
public AllocatorMemoryUsed(Pointer p)
Pointer.Pointer(Pointer).public AllocatorMemoryUsed(long size)
Pointer.position(long).public AllocatorMemoryUsed()
public AllocatorMemoryUsed(@Const @ByRef tensorflow.AllocatorMemoryUsed from)
public tensorflow.AllocatorMemoryUsed position(long position)
@ByRef @Name(value="operator =") public tensorflow.AllocatorMemoryUsed put(@Const @ByRef tensorflow.AllocatorMemoryUsed from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.AllocatorMemoryUsed default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.AllocatorMemoryUsed internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.AllocatorMemoryUsed other)
public void Swap(tensorflow.AllocatorMemoryUsed other)
public tensorflow.AllocatorMemoryUsed New()
New in class tensorflow.MessageLitepublic tensorflow.AllocatorMemoryUsed 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.AllocatorMemoryUsed from)
public void MergeFrom(@Const @ByRef tensorflow.AllocatorMemoryUsed 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 int allocation_records_size()
public void clear_allocation_records()
@MemberGetter public static int kAllocationRecordsFieldNumber()
public tensorflow.AllocationRecord mutable_allocation_records(int index)
@Const @ByRef public tensorflow.AllocationRecord allocation_records(int index)
public tensorflow.AllocationRecord add_allocation_records()
public 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_total_bytes()
@MemberGetter public static int kTotalBytesFieldNumber()
public void clear_peak_bytes()
@MemberGetter public static int kPeakBytesFieldNumber()
public void clear_live_bytes()
@MemberGetter public static int kLiveBytesFieldNumber()
public void clear_allocator_bytes_in_use()
@MemberGetter public static int kAllocatorBytesInUseFieldNumber()
Copyright © 2019. All rights reserved.