public static final class
MemAllocatorStats.Builder
Some of the data from AllocatorStats
tensorflow.MemAllocatorStats
Public Methods
MemAllocatorStats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
MemAllocatorStats |
build()
|
MemAllocatorStats | |
MemAllocatorStats.Builder |
clear()
|
MemAllocatorStats.Builder |
clearBytesInUse()
int64 bytes_in_use = 2;
|
MemAllocatorStats.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
MemAllocatorStats.Builder |
clearFragmentationMetric()
float fragmentation_metric = 5;
|
MemAllocatorStats.Builder |
clearLargestAllocSize()
int64 largest_alloc_size = 4;
|
MemAllocatorStats.Builder |
clearNumAllocs()
int64 num_allocs = 1;
|
MemAllocatorStats.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
MemAllocatorStats.Builder |
clearPeakBytesInUse()
int64 peak_bytes_in_use = 3;
|
MemAllocatorStats.Builder |
clone()
|
long |
getBytesInUse()
int64 bytes_in_use = 2;
|
MemAllocatorStats | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
float |
getFragmentationMetric()
float fragmentation_metric = 5;
|
long |
getLargestAllocSize()
int64 largest_alloc_size = 4;
|
long |
getNumAllocs()
int64 num_allocs = 1;
|
long |
getPeakBytesInUse()
int64 peak_bytes_in_use = 3;
|
final boolean | |
MemAllocatorStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
MemAllocatorStats.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final MemAllocatorStats.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
MemAllocatorStats.Builder |
setBytesInUse(long value)
int64 bytes_in_use = 2;
|
MemAllocatorStats.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
MemAllocatorStats.Builder |
setFragmentationMetric(float value)
float fragmentation_metric = 5;
|
MemAllocatorStats.Builder |
setLargestAllocSize(long value)
int64 largest_alloc_size = 4;
|
MemAllocatorStats.Builder |
setNumAllocs(long value)
int64 num_allocs = 1;
|
MemAllocatorStats.Builder |
setPeakBytesInUse(long value)
int64 peak_bytes_in_use = 3;
|
MemAllocatorStats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final MemAllocatorStats.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public MemAllocatorStats.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public long getBytesInUse ()
int64 bytes_in_use = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public float getFragmentationMetric ()
float fragmentation_metric = 5;
public long getLargestAllocSize ()
int64 largest_alloc_size = 4;
public long getNumAllocs ()
int64 num_allocs = 1;
public long getPeakBytesInUse ()
int64 peak_bytes_in_use = 3;
public final boolean isInitialized ()
public MemAllocatorStats.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final MemAllocatorStats.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public MemAllocatorStats.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public MemAllocatorStats.Builder setFragmentationMetric (float value)
float fragmentation_metric = 5;