Interface Snapshot.TensorMetadataOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Snapshot.TensorMetadata, Snapshot.TensorMetadata.Builder
Enclosing class:
Snapshot

public static interface Snapshot.TensorMetadataOrBuilder extends MessageOrBuilder
  • Method Details

    • hasTensorShape

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

      TensorShapeProto getTensorShape()
      .tensorflow.TensorShapeProto tensor_shape = 2;
      Returns:
      The tensorShape.
    • getTensorShapeOrBuilder

      TensorShapeProtoOrBuilder getTensorShapeOrBuilder()
      .tensorflow.TensorShapeProto tensor_shape = 2;
    • getTensorSizeBytes

      long getTensorSizeBytes()
      Number of uncompressed bytes used to store the tensor representation.
      
      int64 tensor_size_bytes = 3;
      Returns:
      The tensorSizeBytes.