Have a question? Connect with the community at the TensorFlow Forum Visit Forum

SavedAsset.Builder

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
SavedAsset
SavedAsset.Builder
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
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 build ()

public SavedAsset buildPartial ()

public SavedAsset.Builder clear ()

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 SavedAsset.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public SavedAsset.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public SavedAsset.Builder clone ()

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 SavedAsset getDefaultInstanceForType ()

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 SavedAsset.Builder mergeFrom (com.google.protobuf.Message other)

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;

public SavedAsset.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SavedAsset.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final SavedAsset.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)