MemoryLogRawAllocation

public final class MemoryLogRawAllocation

Protobuf type tensorflow.MemoryLogRawAllocation

Nested Classes

class MemoryLogRawAllocation.Builder Protobuf type tensorflow.MemoryLogRawAllocation

Constants

int ALLOCATION_ID_FIELD_NUMBER
int ALLOCATOR_NAME_FIELD_NUMBER
int NUM_BYTES_FIELD_NUMBER
int OPERATION_FIELD_NUMBER
int PTR_FIELD_NUMBER
int STEP_ID_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
long
getAllocationId ()
 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
String
getAllocatorName ()
 Name of the allocator used.
com.google.protobuf.ByteString
getAllocatorNameBytes ()
 Name of the allocator used.
static MemoryLogRawAllocation
MemoryLogRawAllocation
final static com.google.protobuf.Descriptors.Descriptor
long
getNumBytes ()
 Number of bytes in the allocation.
String
getOperation ()
 Name of the operation making the allocation.
com.google.protobuf.ByteString
getOperationBytes ()
 Name of the operation making the allocation.
long
getPtr ()
 Address of the allocation.
int
long
getStepId ()
 Process-unique step id.
final com.google.protobuf.UnknownFieldSet
int
final boolean
static MemoryLogRawAllocation.Builder
static MemoryLogRawAllocation.Builder
MemoryLogRawAllocation.Builder
static MemoryLogRawAllocation
parseDelimitedFrom (InputStream input)
static MemoryLogRawAllocation
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemoryLogRawAllocation
parseFrom (ByteBuffer data)
static MemoryLogRawAllocation
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemoryLogRawAllocation
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemoryLogRawAllocation
parseFrom (com.google.protobuf.CodedInputStream input)
static MemoryLogRawAllocation
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemoryLogRawAllocation
parseFrom (com.google.protobuf.ByteString data)
static MemoryLogRawAllocation
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MemoryLogRawAllocation
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
MemoryLogRawAllocation.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int ALLOCATION_ID_FIELD_NUMBER

Constant Value: 5

public static final int ALLOCATOR_NAME_FIELD_NUMBER

Constant Value: 6

public static final int NUM_BYTES_FIELD_NUMBER

Constant Value: 3

public static final int OPERATION_FIELD_NUMBER

Constant Value: 2

public static final int PTR_FIELD_NUMBER

Constant Value: 4

public static final int STEP_ID_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public long getAllocationId ()

 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
 
int64 allocation_id = 5;

public String getAllocatorName ()

 Name of the allocator used.
 
string allocator_name = 6;

public com.google.protobuf.ByteString getAllocatorNameBytes ()

 Name of the allocator used.
 
string allocator_name = 6;

public static MemoryLogRawAllocation getDefaultInstance ()

public MemoryLogRawAllocation getDefaultInstanceForType ()

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

public long getNumBytes ()

 Number of bytes in the allocation.
 
int64 num_bytes = 3;

public String getOperation ()

 Name of the operation making the allocation.
 
string operation = 2;

public com.google.protobuf.ByteString getOperationBytes ()

 Name of the operation making the allocation.
 
string operation = 2;

public getParserForType ()

public long getPtr ()

 Address of the allocation.
 
uint64 ptr = 4;

public int getSerializedSize ()

public long getStepId ()

 Process-unique step id.
 
int64 step_id = 1;

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

public int hashCode ()

public final boolean isInitialized ()

public static MemoryLogRawAllocation.Builder newBuilder ()

public MemoryLogRawAllocation.Builder newBuilderForType ()

public static MemoryLogRawAllocation parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static MemoryLogRawAllocation parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static MemoryLogRawAllocation parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRe