MemoryStats.Builder

public static final class MemoryStats.Builder

 For memory tracking.
 
Protobuf type tensorflow.MemoryStats

Public Methods

MemoryStats.Builder
addAllDevicePersistentTensorAllocIds(Iterable<? extends Long> values)
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
MemoryStats.Builder
addAllPersistentTensorAllocIds(Iterable<? extends Long> values)
repeated int64 persistent_tensor_alloc_ids = 5;
MemoryStats.Builder
addDevicePersistentTensorAllocIds(long value)
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
MemoryStats.Builder
addPersistentTensorAllocIds(long value)
repeated int64 persistent_tensor_alloc_ids = 5;
MemoryStats.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryStats
build()
MemoryStats
MemoryStats.Builder
clear()
MemoryStats.Builder
clearDevicePersistentMemorySize()
int64 device_persistent_memory_size = 4 [deprecated = true];
MemoryStats.Builder
clearDevicePersistentTensorAllocIds()
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
MemoryStats.Builder
clearDeviceTempMemorySize()
int64 device_temp_memory_size = 2 [deprecated = true];
MemoryStats.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MemoryStats.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MemoryStats.Builder
clearPersistentMemorySize()
int64 persistent_memory_size = 3;
MemoryStats.Builder
clearPersistentTensorAllocIds()
repeated int64 persistent_tensor_alloc_ids = 5;
MemoryStats.Builder
clearTempMemorySize()
int64 temp_memory_size = 1;
MemoryStats.Builder
clone()
MemoryStats
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getDevicePersistentMemorySize()
int64 device_persistent_memory_size = 4 [deprecated = true];
long
getDevicePersistentTensorAllocIds(int index)
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
int
getDevicePersistentTensorAllocIdsCount()
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
List<Long>
getDevicePersistentTensorAllocIdsList()
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
long
getDeviceTempMemorySize()
int64 device_temp_memory_size = 2 [deprecated = true];
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;
List<Long>
getPersistentTensorAllocIdsList()
repeated int64 persistent_tensor_alloc_ids = 5;
long
getTempMemorySize()
int64 temp_memory_size = 1;
final boolean
MemoryStats.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MemoryStats.Builder
mergeFrom(com.google.protobuf.Message other)
final MemoryStats.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MemoryStats.Builder
setDevicePersistentMemorySize(long value)
int64 device_persistent_memory_size = 4 [deprecated = true];
MemoryStats.Builder
setDevicePersistentTensorAllocIds(int index, long value)
repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
MemoryStats.Builder
setDeviceTempMemorySize(long value)
int64 device_temp_memory_size = 2 [deprecated = true];
MemoryStats.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryStats.Builder
setPersistentMemorySize(long value)
int64 persistent_memory_size = 3;
MemoryStats.Builder
setPersistentTensorAllocIds(int index, long value)
repeated int64 persistent_tensor_alloc_ids = 5;
MemoryStats.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MemoryStats.Builder
setTempMemorySize(long value)
int64 temp_memory_size = 1;
final MemoryStats.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public MemoryStats.Builder addAllDevicePersistentTensorAllocIds (Iterable<? extends Long> values)

repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];

public MemoryStats.Builder addAllPersistentTensorAllocIds (Iterable<? extends Long> values)

repeated int64 persistent_tensor_alloc_ids = 5;

public MemoryStats.Builder addDevicePersistentTensorAllocIds (long value)

repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];

public MemoryStats.Builder addPersistentTensorAllocIds (long value)

repeated int64 persistent_tensor_alloc_ids = 5;

public MemoryStats.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public MemoryStats build ()

public MemoryStats buildPartial ()

public MemoryStats.Builder clear ()

public MemoryStats.Builder clearDevicePersistentMemorySize ()

int64 device_persistent_memory_size = 4 [deprecated = true];

public MemoryStats.Builder clearDevicePersistentTensorAllocIds ()

repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];

public MemoryStats.Builder clearDeviceTempMemorySize ()

int64 device_temp_memory_size = 2 [deprecated = true];

public MemoryStats.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public MemoryStats.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public MemoryStats.Builder clearPersistentMemorySize ()

int64 persistent_memory_size = 3;

public MemoryStats.Builder clearPersistentTensorAllocIds ()

repeated int64 persistent_tensor_alloc_ids = 5;

public MemoryStats.Builder clearTempMemorySize ()

int64 temp_memory_size = 1;

public MemoryStats.Builder clone ()

public MemoryStats getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public long getDevicePersistentMemorySize ()

int64 device_persistent_memory_size = 4 [deprecated = true];

public long getDevicePersistentTensorAllocIds (int index)

repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];

public int getDevicePersistentTensorAllocIdsCount ()

repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];

public List<Long> getDevicePersistentTensorAllocIdsList ()

repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];

public long getDeviceTempMemorySize ()

int64 device_temp_memory_size = 2 [deprecated = true];

public long getPersistentMemorySize ()

int64 persistent_memory_size = 3;

public long getPersistentTensorAllocIds (int index)

repeated int64 persistent_tensor_alloc_ids = 5;

public int getPersistentTensorAllocIdsCount ()

repeated int64 persistent_tensor_alloc_ids = 5;

public List<Long> getPersistentTensorAllocIdsList ()

repeated int64 persistent_tensor_alloc_ids = 5;

public long getTempMemorySize ()

int64 temp_memory_size = 1;

public final boolean isInitialized ()

public MemoryStats.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public MemoryStats.Builder mergeFrom (com.google.protobuf.Message other)

public final MemoryStats.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public MemoryStats.Builder setDevicePersistentMemorySize (long value)

int64 device_persistent_memory_size = 4 [deprecated = true];

public MemoryStats.Builder setDevicePersistentTensorAllocIds (int index, long value)

repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];

public MemoryStats.Builder setDeviceTempMemorySize (long value)

int64 device_temp_memory_size = 2 [deprecated = true];

public MemoryStats.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public MemoryStats.Builder setPersistentMemorySize (long value)

int64 persistent_memory_size = 3;

public MemoryStats.Builder setPersistentTensorAllocIds (int index, long value)

repeated int64 persistent_tensor_alloc_ids = 5;

public MemoryStats.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public MemoryStats.Builder setTempMemorySize (long value)

int64 temp_memory_size = 1;

public final MemoryStats.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)