@Namespace(value="tensorflow") @NoOffset public static class tensorflow.MemoryStats extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kDevicePersistentMemorySizeFieldNumber |
static int |
kDevicePersistentTensorAllocIdsFieldNumber |
static int |
kDeviceTempMemorySizeFieldNumber |
static int |
kIndexInFileMessages |
static int |
kPersistentMemorySizeFieldNumber |
static int |
kPersistentTensorAllocIdsFieldNumber |
static int |
kTempMemorySizeFieldNumber |
| Constructor and Description |
|---|
MemoryStats() |
MemoryStats(long size)
Native array allocator.
|
MemoryStats(Pointer p)
Pointer cast constructor.
|
MemoryStats(tensorflow.MemoryStats 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 kPersistentTensorAllocIdsFieldNumber
public static final int kDevicePersistentTensorAllocIdsFieldNumber
public static final int kTempMemorySizeFieldNumber
public static final int kDeviceTempMemorySizeFieldNumber
public static final int kPersistentMemorySizeFieldNumber
public static final int kDevicePersistentMemorySizeFieldNumber
public MemoryStats(Pointer p)
Pointer.Pointer(Pointer).public MemoryStats(long size)
Pointer.position(long).public MemoryStats()
public MemoryStats(@Const @ByRef tensorflow.MemoryStats from)
public tensorflow.MemoryStats position(long position)
@ByRef @Name(value="operator =") public tensorflow.MemoryStats put(@Const @ByRef tensorflow.MemoryStats from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.MemoryStats default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.MemoryStats internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.MemoryStats other)
public void Swap(tensorflow.MemoryStats other)
public tensorflow.MemoryStats New()
New in class tensorflow.MessageLitepublic tensorflow.MemoryStats 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.MemoryStats from)
public void MergeFrom(@Const @ByRef tensorflow.MemoryStats 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 persistent_tensor_alloc_ids_size()
public void clear_persistent_tensor_alloc_ids()
@MemberGetter public static int kPersistentTensorAllocIdsFieldNumber()
@Cast(value="google::protobuf::int64") public long persistent_tensor_alloc_ids(int index)
public void set_persistent_tensor_alloc_ids(int index,
@Cast(value="google::protobuf::int64")
long value)
public void add_persistent_tensor_alloc_ids(@Cast(value="google::protobuf::int64") long value)
@Deprecated public int device_persistent_tensor_alloc_ids_size()
@Deprecated public void clear_device_persistent_tensor_alloc_ids()
@MemberGetter @Deprecated public static int kDevicePersistentTensorAllocIdsFieldNumber()
@Cast(value="google::protobuf::int64") @Deprecated public long device_persistent_tensor_alloc_ids(int index)
@Deprecated public void set_device_persistent_tensor_alloc_ids(int index, @Cast(value="google::protobuf::int64") long value)
@Deprecated public void add_device_persistent_tensor_alloc_ids(@Cast(value="google::protobuf::int64") long value)
public void clear_temp_memory_size()
@MemberGetter public static int kTempMemorySizeFieldNumber()
public void set_temp_memory_size(@Cast(value="google::protobuf::int64") long value)
@Deprecated public void clear_device_temp_memory_size()
@MemberGetter @Deprecated public static int kDeviceTempMemorySizeFieldNumber()
@Cast(value="google::protobuf::int64") @Deprecated public long device_temp_memory_size()
@Deprecated public void set_device_temp_memory_size(@Cast(value="google::protobuf::int64") long value)
public void clear_persistent_memory_size()
@MemberGetter public static int kPersistentMemorySizeFieldNumber()
public void set_persistent_memory_size(@Cast(value="google::protobuf::int64") long value)
@Deprecated public void clear_device_persistent_memory_size()
@MemberGetter @Deprecated public static int kDevicePersistentMemorySizeFieldNumber()
@Cast(value="google::protobuf::int64") @Deprecated public long device_persistent_memory_size()
@Deprecated public void set_device_persistent_memory_size(@Cast(value="google::protobuf::int64") long value)
Copyright © 2019. All rights reserved.