Interface Dataset.CompressedElementOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
Dataset.CompressedElement, Dataset.CompressedElement.Builder
- Enclosing class:
Dataset
-
Method Summary
Modifier and TypeMethodDescriptiongetComponentMetadata(int index) Metadata for the components of the element.intMetadata for the components of the element.Metadata for the components of the element.getComponentMetadataOrBuilder(int index) Metadata for the components of the element.List<? extends Dataset.CompressedComponentMetadataOrBuilder> Metadata for the components of the element.getData()Compressed tensor bytes for all components of the element.intVersion of the CompressedElement.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getData
ByteString getData()Compressed tensor bytes for all components of the element.
bytes data = 1;- Returns:
- The data.
-
getComponentMetadataList
List<Dataset.CompressedComponentMetadata> getComponentMetadataList()Metadata for the components of the element.
repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2; -
getComponentMetadata
Metadata for the components of the element.
repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2; -
getComponentMetadataCount
int getComponentMetadataCount()Metadata for the components of the element.
repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2; -
getComponentMetadataOrBuilderList
List<? extends Dataset.CompressedComponentMetadataOrBuilder> getComponentMetadataOrBuilderList()Metadata for the components of the element.
repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2; -
getComponentMetadataOrBuilder
Metadata for the components of the element.
repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2; -
getVersion
int getVersion()Version of the CompressedElement. CompressedElements may be stored on disk and read back by later versions of code, so we store a version number to help readers understand which version they are reading. When you add a new field to this proto, you need to increment kCompressedElementVersion in tensorflow/core/data/compression_utils.cc.
int32 version = 3;- Returns:
- The version.
-