Interface Dataset.CompressedComponentMetadataOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Dataset.CompressedComponentMetadata, Dataset.CompressedComponentMetadata.Builder
Enclosing class:
Dataset

public static interface Dataset.CompressedComponentMetadataOrBuilder extends MessageOrBuilder
  • Method Details

    • getDtypeValue

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

      DataType getDtype()
      The dtype of the component tensor.
      
      .tensorflow.DataType dtype = 1;
      Returns:
      The dtype.
    • hasTensorShape

      boolean hasTensorShape()
      The shape of the component tensor.
      
      .tensorflow.TensorShapeProto tensor_shape = 2;
      Returns:
      Whether the tensorShape field is set.
    • getTensorShape

      TensorShapeProto getTensorShape()
      The shape of the component tensor.
      
      .tensorflow.TensorShapeProto tensor_shape = 2;
      Returns:
      The tensorShape.
    • getTensorShapeOrBuilder

      TensorShapeProtoOrBuilder getTensorShapeOrBuilder()
      The shape of the component tensor.
      
      .tensorflow.TensorShapeProto tensor_shape = 2;
    • getUncompressedBytesList

      List<Long> getUncompressedBytesList()
      The amount of uncompressed tensor data.
      - For string tensors, there is an element for each string indicating the
      size of the string.
      - For all other tensors, there is a single element indicating the size of
      the tensor.
      
      repeated uint64 uncompressed_bytes = 4;
      Returns:
      A list containing the uncompressedBytes.
    • getUncompressedBytesCount

      int getUncompressedBytesCount()
      The amount of uncompressed tensor data.
      - For string tensors, there is an element for each string indicating the
      size of the string.
      - For all other tensors, there is a single element indicating the size of
      the tensor.
      
      repeated uint64 uncompressed_bytes = 4;
      Returns:
      The count of uncompressedBytes.
    • getUncompressedBytes

      long getUncompressedBytes(int index)
      The amount of uncompressed tensor data.
      - For string tensors, there is an element for each string indicating the
      size of the string.
      - For all other tensors, there is a single element indicating the size of
      the tensor.
      
      repeated uint64 uncompressed_bytes = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The uncompressedBytes at the given index.