public final class MemoryStats extends com.google.protobuf.GeneratedMessageV3 implements MemoryStatsOrBuilder
For memory tracking.Protobuf type
tensorflow.MemoryStats| Modifier and Type | Class and Description |
|---|---|
static class |
MemoryStats.Builder
For memory tracking.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER |
static int |
DEVICE_PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER |
static int |
DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER |
static int |
PERSISTENT_MEMORY_SIZE_FIELD_NUMBER |
static int |
PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER |
static int |
TEMP_MEMORY_SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static MemoryStats |
getDefaultInstance() |
MemoryStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getDevicePersistentMemorySize()
Deprecated.
|
long |
getDevicePersistentTensorAllocIds(int index)
Deprecated.
|
int |
getDevicePersistentTensorAllocIdsCount()
Deprecated.
|
java.util.List<java.lang.Long> |
getDevicePersistentTensorAllocIdsList()
Deprecated.
|
long |
getDeviceTempMemorySize()
Deprecated.
|
com.google.protobuf.Parser<MemoryStats> |
getParserForType() |
long |
getPersistentMemorySize()
int64 persistent_memory_size = 3; |
long |
getPersistentTensorAllocIds(int index)
repeated int64 persistent_tensor_alloc_ids = 5; |
int |
getPersistentTensorAllocIdsCount()
repeated int64 persistent_tensor_alloc_ids = 5; |
java.util.List<java.lang.Long> |
getPersistentTensorAllocIdsList()
repeated int64 persistent_tensor_alloc_ids = 5; |
int |
getSerializedSize() |
long |
getTempMemorySize()
int64 temp_memory_size = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MemoryStats.Builder |
newBuilder() |
static MemoryStats.Builder |
newBuilder(MemoryStats prototype) |
MemoryStats.Builder |
newBuilderForType() |
protected MemoryStats.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MemoryStats |
parseDelimitedFrom(java.io.InputStream input) |
static MemoryStats |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MemoryStats |
parseFrom(byte[] data) |
static MemoryStats |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MemoryStats |
parseFrom(java.nio.ByteBuffer data) |
static MemoryStats |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MemoryStats |
parseFrom(com.google.protobuf.ByteString data) |
static MemoryStats |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MemoryStats |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MemoryStats |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MemoryStats |
parseFrom(java.io.InputStream input) |
static MemoryStats |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MemoryStats> |
parser() |
MemoryStats.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TEMP_MEMORY_SIZE_FIELD_NUMBER
public static final int PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
public static final int PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER
public static final int DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER
public static final int DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
public static final int DEVICE_PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getTempMemorySize()
int64 temp_memory_size = 1;getTempMemorySize in interface MemoryStatsOrBuilderpublic long getPersistentMemorySize()
int64 persistent_memory_size = 3;getPersistentMemorySize in interface MemoryStatsOrBuilderpublic java.util.List<java.lang.Long> getPersistentTensorAllocIdsList()
repeated int64 persistent_tensor_alloc_ids = 5;getPersistentTensorAllocIdsList in interface MemoryStatsOrBuilderpublic int getPersistentTensorAllocIdsCount()
repeated int64 persistent_tensor_alloc_ids = 5;getPersistentTensorAllocIdsCount in interface MemoryStatsOrBuilderpublic long getPersistentTensorAllocIds(int index)
repeated int64 persistent_tensor_alloc_ids = 5;getPersistentTensorAllocIds in interface MemoryStatsOrBuilderindex - The index of the element to return.@Deprecated public long getDeviceTempMemorySize()
int64 device_temp_memory_size = 2 [deprecated = true];getDeviceTempMemorySize in interface MemoryStatsOrBuilder@Deprecated public long getDevicePersistentMemorySize()
int64 device_persistent_memory_size = 4 [deprecated = true];getDevicePersistentMemorySize in interface MemoryStatsOrBuilder@Deprecated public java.util.List<java.lang.Long> getDevicePersistentTensorAllocIdsList()
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];getDevicePersistentTensorAllocIdsList in interface MemoryStatsOrBuilder@Deprecated public int getDevicePersistentTensorAllocIdsCount()
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];getDevicePersistentTensorAllocIdsCount in interface MemoryStatsOrBuilder@Deprecated public long getDevicePersistentTensorAllocIds(int index)
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];getDevicePersistentTensorAllocIds in interface MemoryStatsOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MemoryStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MemoryStats parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MemoryStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MemoryStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MemoryStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MemoryStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MemoryStats parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MemoryStats parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MemoryStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MemoryStats parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MemoryStats parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MemoryStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MemoryStats.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MemoryStats.Builder newBuilder()
public static MemoryStats.Builder newBuilder(MemoryStats prototype)
public MemoryStats.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MemoryStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MemoryStats getDefaultInstance()
public static com.google.protobuf.Parser<MemoryStats> parser()
public com.google.protobuf.Parser<MemoryStats> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MemoryStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder