public static final class
SavedAsset.Builder
A SavedAsset points to an asset in the MetaGraph. When bound to a function this object evaluates to a tensor with the absolute filename. Users should not depend on a particular part of the filename to remain stable (e.g. basename could be changed).Protobuf type
tensorflow.SavedAsset
Public Methods
SavedAsset.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedAsset |
build()
|
SavedAsset | |
SavedAsset.Builder |
clear()
|
SavedAsset.Builder |
clearAssetFileDefIndex()
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
SavedAsset.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
SavedAsset.Builder |
clone()
|
int |
getAssetFileDefIndex()
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
final boolean | |
SavedAsset.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
SavedAsset.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final SavedAsset.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SavedAsset.Builder |
setAssetFileDefIndex(int value)
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedAsset.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final SavedAsset.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public SavedAsset.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SavedAsset.Builder clearAssetFileDefIndex ()
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. Only the field `AssetFileDef.filename` is used. Other fields, such as `AssetFileDef.tensor_info`, MUST be ignored.
int32 asset_file_def_index = 1;
public int getAssetFileDefIndex ()
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. Only the field `AssetFileDef.filename` is used. Other fields, such as `AssetFileDef.tensor_info`, MUST be ignored.
int32 asset_file_def_index = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public final boolean isInitialized ()
public SavedAsset.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final SavedAsset.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedAsset.Builder setAssetFileDefIndex (int value)
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. Only the field `AssetFileDef.filename` is used. Other fields, such as `AssetFileDef.tensor_info`, MUST be ignored.
int32 asset_file_def_index = 1;