SavedModel.Builder

public static final class SavedModel.Builder

 SavedModel is the high level serialization format for TensorFlow Models.
 See [todo: doc links, similar to session_bundle] for more information.
 
Protobuf type tensorflow.SavedModel

Public Methods

SavedModel.Builder
addAllMetaGraphs (Iterable<? extends MetaGraphDef > values)
 One or more MetaGraphs.
SavedModel.Builder
addMetaGraphs (int index, MetaGraphDef.Builder builderForValue)
 One or more MetaGraphs.
SavedModel.Builder
addMetaGraphs ( MetaGraphDef.Builder builderForValue)
 One or more MetaGraphs.
SavedModel.Builder
addMetaGraphs ( MetaGraphDef value)
 One or more MetaGraphs.
SavedModel.Builder
addMetaGraphs (int index, MetaGraphDef value)
 One or more MetaGraphs.
MetaGraphDef.Builder
addMetaGraphsBuilder ()
 One or more MetaGraphs.
MetaGraphDef.Builder
addMetaGraphsBuilder (int index)
 One or more MetaGraphs.
SavedModel.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedModel
SavedModel
SavedModel.Builder
SavedModel.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
SavedModel.Builder
clearMetaGraphs ()
 One or more MetaGraphs.
SavedModel.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
SavedModel.Builder
clearSavedModelSchemaVersion ()
 The schema version of the SavedModel instance.
SavedModel.Builder
SavedModel
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
MetaGraphDef
getMetaGraphs (int index)
 One or more MetaGraphs.
MetaGraphDef.Builder
getMetaGraphsBuilder (int index)
 One or more MetaGraphs.
List< MetaGraphDef.Builder >
getMetaGraphsBuilderList ()
 One or more MetaGraphs.
int
getMetaGraphsCount ()
 One or more MetaGraphs.
List< MetaGraphDef >
getMetaGraphsList ()
 One or more MetaGraphs.
MetaGraphDefOrBuilder
getMetaGraphsOrBuilder (int index)
 One or more MetaGraphs.
List<? extends MetaGraphDefOrBuilder >
getMetaGraphsOrBuilderList ()
 One or more MetaGraphs.
long
getSavedModelSchemaVersion ()
 The schema version of the SavedModel instance.
final boolean
SavedModel.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SavedModel.Builder
mergeFrom (com.google.protobuf.Message other)
final SavedModel.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
SavedModel.Builder
removeMetaGraphs (int index)
 One or more MetaGraphs.
SavedModel.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedModel.Builder
setMetaGraphs (int index, MetaGraphDef.Builder builderForValue)
 One or more MetaGraphs.
SavedModel.Builder
setMetaGraphs (int index, MetaGraphDef value)
 One or more MetaGraphs.
SavedModel.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SavedModel.Builder
setSavedModelSchemaVersion (long value)
 The schema version of the SavedModel instance.
final SavedModel.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public SavedModel.Builder addAllMetaGraphs (Iterable<? extends MetaGraphDef > values)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public SavedModel.Builder addMetaGraphs (int index, MetaGraphDef.Builder builderForValue)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public SavedModel.Builder addMetaGraphs ( MetaGraphDef.Builder builderForValue)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public SavedModel.Builder addMetaGraphs ( MetaGraphDef value)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public SavedModel.Builder addMetaGraphs (int index, MetaGraphDef value)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public MetaGraphDef.Builder addMetaGraphsBuilder ()

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public MetaGraphDef.Builder addMetaGraphsBuilder (int index)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public SavedModel.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SavedModel build ()

public SavedModel buildPartial ()

public SavedModel.Builder clear ()

public SavedModel.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public SavedModel.Builder clearMetaGraphs ()

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

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

public SavedModel.Builder clearSavedModelSchemaVersion ()

 The schema version of the SavedModel instance. Used for versioning when
 making future changes to the specification/implementation. Initial value
 at release will be 1.
 
int64 saved_model_schema_version = 1;

public SavedModel.Builder clone ()

public SavedModel getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public MetaGraphDef getMetaGraphs (int index)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public MetaGraphDef.Builder getMetaGraphsBuilder (int index)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public List< MetaGraphDef.Builder > getMetaGraphsBuilderList ()

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public int getMetaGraphsCount ()

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public List< MetaGraphDef > getMetaGraphsList ()

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

public MetaGraphDefOrBuilder getMetaGraphsOrBuilder (int index)

 One or more MetaGraphs.
 
repeated .tensorflow.MetaGraphDef meta_graphs = 2;

<