Interface AssetFileDefOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
AssetFileDef, AssetFileDef.Builder
-
Method Summary
Modifier and TypeMethodDescriptionThe filename within an assets directory.The filename within an assets directory.The tensor to bind the asset filename to.The tensor to bind the asset filename to.booleanThe tensor to bind the asset filename to.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
hasTensorInfo
boolean hasTensorInfo()The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;- Returns:
- Whether the tensorInfo field is set.
-
getTensorInfo
TensorInfo getTensorInfo()The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;- Returns:
- The tensorInfo.
-
getTensorInfoOrBuilder
TensorInfoOrBuilder getTensorInfoOrBuilder()The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1; -
getFilename
String getFilename()The filename within an assets directory. Note: does not include the path prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename would be "vocab.txt".
string filename = 2;- Returns:
- The filename.
-
getFilenameBytes
ByteString getFilenameBytes()The filename within an assets directory. Note: does not include the path prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename would be "vocab.txt".
string filename = 2;- Returns:
- The bytes for filename.
-