org.tensorflow.framework.AllocationDescriptionOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/allocation_description.proto
package org.tensorflow.framework;
public interface AllocationDescriptionOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.AllocationDescription)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* Total number of bytes requested
*
*
* int64 requested_bytes = 1;
* @return The requestedBytes.
*/
long getRequestedBytes();
/**
*
* Total number of bytes allocated if known
*
*
* int64 allocated_bytes = 2;
* @return The allocatedBytes.
*/
long getAllocatedBytes();
/**
*
* Name of the allocator used
*
*
* string allocator_name = 3;
* @return The allocatorName.
*/
java.lang.String getAllocatorName();
/**
*
* Name of the allocator used
*
*
* string allocator_name = 3;
* @return The bytes for allocatorName.
*/
org.nd4j.shade.protobuf.ByteString
getAllocatorNameBytes();
/**
*
* Identifier of the allocated buffer if known
*
*
* int64 allocation_id = 4;
* @return The allocationId.
*/
long getAllocationId();
/**
*
* Set if this tensor only has one remaining reference
*
*
* bool has_single_reference = 5;
* @return The hasSingleReference.
*/
boolean getHasSingleReference();
/**
*
* Address of the allocation.
*
*
* uint64 ptr = 6;
* @return The ptr.
*/
long getPtr();
}