public interface AllocationDescriptionOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAllocatedBytes()
Total number of bytes allocated if known
|
long |
getAllocationId()
Identifier of the allocated buffer if known
|
String |
getAllocatorName()
Name of the allocator used
|
org.nd4j.shade.protobuf.ByteString |
getAllocatorNameBytes()
Name of the allocator used
|
boolean |
getHasSingleReference()
Set if this tensor only has one remaining reference
|
long |
getPtr()
Address of the allocation.
|
long |
getRequestedBytes()
Total number of bytes requested
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getRequestedBytes()
Total number of bytes requested
int64 requested_bytes = 1;
long getAllocatedBytes()
Total number of bytes allocated if known
int64 allocated_bytes = 2;
String getAllocatorName()
Name of the allocator used
string allocator_name = 3;
org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used
string allocator_name = 3;
long getAllocationId()
Identifier of the allocated buffer if known
int64 allocation_id = 4;
boolean getHasSingleReference()
Set if this tensor only has one remaining reference
bool has_single_reference = 5;
long getPtr()
Address of the allocation.
uint64 ptr = 6;
Copyright © 2020. All rights reserved.