AllocationDescription

public final class AllocationDescription

Protobuf type tensorflow.AllocationDescription

Nested Classes

class AllocationDescription.Builder Protobuf type tensorflow.AllocationDescription

Constants

int ALLOCATED_BYTES_FIELD_NUMBER
int ALLOCATION_ID_FIELD_NUMBER
int ALLOCATOR_NAME_FIELD_NUMBER
int HAS_SINGLE_REFERENCE_FIELD_NUMBER
int PTR_FIELD_NUMBER
int REQUESTED_BYTES_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
long
getAllocatedBytes ()
 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;
long
getAllocationId ()
 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;
String
getAllocatorName ()
 Name of the allocator used
 
string allocator_name = 3;
com.google.protobuf.ByteString
getAllocatorNameBytes ()
 Name of the allocator used
 
string allocator_name = 3;
static AllocationDescription
AllocationDescription
final static com.google.protobuf.Descriptors.Descriptor
boolean
getHasSingleReference ()
 Set if this tensor only has one remaining reference
 
bool has_single_reference = 5;
long
getPtr ()
 Address of the allocation.
long
getRequestedBytes ()
 Total number of bytes requested
 
int64 requested_bytes = 1;
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static AllocationDescription.Builder
static AllocationDescription.Builder
AllocationDescription.Builder
static AllocationDescription
parseDelimitedFrom (InputStream input)
static AllocationDescription
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationDescription
parseFrom (ByteBuffer data)
static AllocationDescription
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationDescription
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationDescription
parseFrom (com.google.protobuf.CodedInputStream input)
static AllocationDescription
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationDescription
parseFrom (com.google.protobuf.ByteString data)
static AllocationDescription
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationDescription
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
AllocationDescription.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int ALLOCATED_BYTES_FIELD_NUMBER

Constant Value: 2

public static final int ALLOCATION_ID_FIELD_NUMBER

Constant Value: 4

public static final int ALLOCATOR_NAME_FIELD_NUMBER

Constant Value: 3

public static final int HAS_SINGLE_REFERENCE_FIELD_NUMBER

Constant Value: 5

public static final int PTR_FIELD_NUMBER

Constant Value: 6

public static final int REQUESTED_BYTES_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public long getAllocatedBytes ()

 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;

public long getAllocationId ()

 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;

public String getAllocatorName ()

 Name of the allocator used
 
string allocator_name = 3;

public com.google.protobuf.ByteString getAllocatorNameBytes ()

 Name of the allocator used
 
string allocator_name = 3;

public static AllocationDescription getDefaultInstance ()

public AllocationDescription getDefaultInstanceForType ()

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

public boolean getHasSingleReference ()

 Set if this tensor only has one remaining reference
 
bool has_single_reference = 5;

public getParserForType ()

public long getPtr ()

 Address of the allocation.
 
uint64 ptr = 6;

public long getRequestedBytes ()

 Total number of bytes requested
 
int64 requested_bytes = 1;

public int getSerializedSize ()

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

public int hashCode ()

public final boolean isInitialized ()

public static AllocationDescription.Builder newBuilder ()

public static AllocationDescription.Builder newBuilder ( AllocationDescription prototype)

public AllocationDescription.Builder newBuilderForType ()

public static AllocationDescription parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static AllocationDescription parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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