Package org.platanios.tensorflow.proto
Interface AssetFileDefOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AssetFileDef
,AssetFileDef.Builder
public interface AssetFileDefOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFilename()
The filename within an assets directory.com.google.protobuf.ByteString
getFilenameBytes()
The filename within an assets directory.TensorInfo
getTensorInfo()
The tensor to bind the asset filename to.TensorInfoOrBuilder
getTensorInfoOrBuilder()
The tensor to bind the asset filename to.boolean
hasTensorInfo()
The tensor to bind the asset filename to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTensorInfo
boolean hasTensorInfo()
The tensor to bind the asset filename to.
.org.platanios.tensorflow.proto.TensorInfo tensor_info = 1;
- Returns:
- Whether the tensorInfo field is set.
-
getTensorInfo
TensorInfo getTensorInfo()
The tensor to bind the asset filename to.
.org.platanios.tensorflow.proto.TensorInfo tensor_info = 1;
- Returns:
- The tensorInfo.
-
getTensorInfoOrBuilder
TensorInfoOrBuilder getTensorInfoOrBuilder()
The tensor to bind the asset filename to.
.org.platanios.tensorflow.proto.TensorInfo tensor_info = 1;
-
getFilename
java.lang.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
com.google.protobuf.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.
-
-