Interface AllocationDescriptionOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
AllocationDescription, AllocationDescription.Builder

public interface AllocationDescriptionOrBuilder extends MessageOrBuilder
  • Method Details

    • getRequestedBytes

      long getRequestedBytes()
      Total number of bytes requested
      
      int64 requested_bytes = 1;
      Returns:
      The requestedBytes.
    • getAllocatedBytes

      long getAllocatedBytes()
      Total number of bytes allocated if known
      
      int64 allocated_bytes = 2;
      Returns:
      The allocatedBytes.
    • getAllocatorName

      String getAllocatorName()
      Name of the allocator used
      
      string allocator_name = 3;
      Returns:
      The allocatorName.
    • getAllocatorNameBytes

      ByteString getAllocatorNameBytes()
      Name of the allocator used
      
      string allocator_name = 3;
      Returns:
      The bytes for allocatorName.
    • getAllocationId

      long getAllocationId()
      Identifier of the allocated buffer if known
      
      int64 allocation_id = 4;
      Returns:
      The allocationId.
    • getHasSingleReference

      boolean getHasSingleReference()
      Set if this tensor only has one remaining reference
      
      bool has_single_reference = 5;
      Returns:
      The hasSingleReference.
    • getPtr

      long getPtr()
      Address of the allocation.
      
      uint64 ptr = 6;
      Returns:
      The ptr.