MemAllocatorStats

public final class MemAllocatorStats

 Some of the data from AllocatorStats
 
Protobuf type tensorflow.MemAllocatorStats

Nested Classes

class MemAllocatorStats.Builder
 Some of the data from AllocatorStats
 
Protobuf type tensorflow.MemAllocatorStats

Constants

int BYTES_IN_USE_FIELD_NUMBER
int FRAGMENTATION_METRIC_FIELD_NUMBER
int LARGEST_ALLOC_SIZE_FIELD_NUMBER
int NUM_ALLOCS_FIELD_NUMBER
int PEAK_BYTES_IN_USE_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
long
getBytesInUse ()
int64 bytes_in_use = 2;
static MemAllocatorStats
MemAllocatorStats
final static 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;
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static MemAllocatorStats.Builder
static MemAllocatorStats.Builder
MemAllocatorStats.Builder
static MemAllocatorStats
parseDelimitedFrom (InputStream input)
static MemAllocatorStats
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemAllocatorStats
parseFrom (ByteBuffer data)
static MemAllocatorStats
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemAllocatorStats
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemAllocatorStats
parseFrom (com.google.protobuf.CodedInputStream input)
static MemAllocatorStats
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemAllocatorStats
parseFrom (com.google.protobuf.ByteString data)
static MemAllocatorStats
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemAllocatorStats
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
MemAllocatorStats.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BYTES_IN_USE_FIELD_NUMBER

Constant Value: 2

public static final int FRAGMENTATION_METRIC_FIELD_NUMBER

Constant Value: 5

public static final int LARGEST_ALLOC_SIZE_FIELD_NUMBER

Constant Value: 4

public static final int NUM_ALLOCS_FIELD_NUMBER

Constant Value: 1

public static final int PEAK_BYTES_IN_USE_FIELD_NUMBER

Constant Value: 3

Public Methods

public boolean equals (Object obj)

public long getBytesInUse ()

int64 bytes_in_use = 2;

public static MemAllocatorStats getDefaultInstance ()

public MemAllocatorStats getDefaultInstanceForType ()

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

public float getFragmentationMetric ()

float fragmentation_metric = 5;

public long getLargestAllocSize ()

int64 largest_alloc_size = 4;

public long getNumAllocs ()

int64 num_allocs = 1;

public getParserForType ()

public long getPeakBytesInUse ()

int64 peak_bytes_in_use = 3;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static MemAllocatorStats.Builder newBuilder ( MemAllocatorStats prototype)

public static MemAllocatorStats.Builder newBuilder ()

public MemAllocatorStats.Builder newBuilderForType ()

public static MemAllocatorStats parseDelimitedFrom (InputStream input)

Throws
IOException

public static MemAllocatorStats parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static MemAllocatorStats parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static MemAllocatorStats parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static MemAllocatorStats parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static MemAllocatorStats parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static MemAllocatorStats parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static MemAllocatorStats parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static MemAllocatorStats parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException