Interface SavedSliceOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
SavedSlice, SavedSlice.Builder
-
Method Summary
Modifier and TypeMethodDescriptiongetData()The raw data of the slice is stored as a TensorProto.The raw data of the slice is stored as a TensorProto.getName()Name of the tensor that this slice belongs to.Name of the tensor that this slice belongs to.getSlice()Extent of the slice.Extent of the slice.booleanhasData()The raw data of the slice is stored as a TensorProto.booleanhasSlice()Extent of the slice.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getName
String getName()Name of the tensor that this slice belongs to. This must be identical to the name used to encode the key for this record.
string name = 1;- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()Name of the tensor that this slice belongs to. This must be identical to the name used to encode the key for this record.
string name = 1;- Returns:
- The bytes for name.
-
hasSlice
boolean hasSlice()Extent of the slice. Must have one entry for each of the dimension of the tensor that this slice belongs to.
.tensorflow.TensorSliceProto slice = 2;- Returns:
- Whether the slice field is set.
-
getSlice
TensorSliceProto getSlice()Extent of the slice. Must have one entry for each of the dimension of the tensor that this slice belongs to.
.tensorflow.TensorSliceProto slice = 2;- Returns:
- The slice.
-
getSliceOrBuilder
TensorSliceProtoOrBuilder getSliceOrBuilder()Extent of the slice. Must have one entry for each of the dimension of the tensor that this slice belongs to.
.tensorflow.TensorSliceProto slice = 2; -
hasData
boolean hasData()The raw data of the slice is stored as a TensorProto. Only raw data are stored (we don't fill in fields such as dtype or tensor_shape).
.tensorflow.TensorProto data = 3;- Returns:
- Whether the data field is set.
-
getData
TensorProto getData()The raw data of the slice is stored as a TensorProto. Only raw data are stored (we don't fill in fields such as dtype or tensor_shape).
.tensorflow.TensorProto data = 3;- Returns:
- The data.
-
getDataOrBuilder
TensorProtoOrBuilder getDataOrBuilder()The raw data of the slice is stored as a TensorProto. Only raw data are stored (we don't fill in fields such as dtype or tensor_shape).
.tensorflow.TensorProto data = 3;
-