Interface TensorDescriptionOrBuilder

  • All Superinterfaces:
    org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TensorDescription, TensorDescription.Builder

    public interface TensorDescriptionOrBuilder
    extends org.nd4j.shade.protobuf.MessageOrBuilder
    • Method Detail

      • getDtypeValue

        int getDtypeValue()
         Data type of tensor elements
         
        .tensorflow.DataType dtype = 1;
        Returns:
        The enum numeric value on the wire for dtype.
      • getDtype

        DataType getDtype()
         Data type of tensor elements
         
        .tensorflow.DataType dtype = 1;
        Returns:
        The dtype.
      • hasShape

        boolean hasShape()
         Shape of the tensor.
         
        .tensorflow.TensorShapeProto shape = 2;
        Returns:
        Whether the shape field is set.
      • getShape

        TensorShapeProto getShape()
         Shape of the tensor.
         
        .tensorflow.TensorShapeProto shape = 2;
        Returns:
        The shape.
      • getShapeOrBuilder

        TensorShapeProtoOrBuilder getShapeOrBuilder()
         Shape of the tensor.
         
        .tensorflow.TensorShapeProto shape = 2;
      • hasAllocationDescription

        boolean hasAllocationDescription()
         Information about the size and allocator used for the data
         
        .tensorflow.AllocationDescription allocation_description = 4;
        Returns:
        Whether the allocationDescription field is set.
      • getAllocationDescription

        AllocationDescription getAllocationDescription()
         Information about the size and allocator used for the data
         
        .tensorflow.AllocationDescription allocation_description = 4;
        Returns:
        The allocationDescription.
      • getAllocationDescriptionOrBuilder

        AllocationDescriptionOrBuilder getAllocationDescriptionOrBuilder()
         Information about the size and allocator used for the data
         
        .tensorflow.AllocationDescription allocation_description = 4;