Interface SavedSliceMetaOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
SavedSliceMeta, SavedSliceMeta.Builder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of the tensor.Name of the tensor.getShape()Shape of the tensorShape of the tensorgetSlice(int index) Explicit list of slices saved in the checkpoint file.intExplicit list of slices saved in the checkpoint file.Explicit list of slices saved in the checkpoint file.getSliceOrBuilder(int index) Explicit list of slices saved in the checkpoint file.List<? extends TensorSliceProtoOrBuilder> Explicit list of slices saved in the checkpoint file.getType()Type of the tensorintType of the tensorbooleanhasShape()Shape of the tensorMethods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getName
-
getNameBytes
-
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; -
getTypeValue
int getTypeValue()Type of the tensor
.tensorflow.DataType type = 3;- Returns:
- The enum numeric value on the wire for type.
-
getType
-
getSliceList
List<TensorSliceProto> getSliceList()Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4; -
getSlice
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4; -
getSliceCount
int getSliceCount()Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4; -
getSliceOrBuilderList
List<? extends TensorSliceProtoOrBuilder> getSliceOrBuilderList()Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4; -
getSliceOrBuilder
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
-