ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

SavedModelOrBuilder

public interface SavedModelOrBuilder
Known Indirect Subclasses

Public Methods

abstract MetaGraphDef
getMetaGraphs (int index)
 One or more MetaGraphs.
abstract int
getMetaGraphsCount ()
 One or more MetaGraphs.
abstract List< MetaGraphDef >
getMetaGraphsList ()
 One or more MetaGraphs.
abstract MetaGraphDefOrBuilder
getMetaGraphsOrBuilder (int index)
 One or more MetaGraphs.
abstract List<? extends MetaGraphDefOrBuilder >
getMetaGraphsOrBuilderList ()
 One or more MetaGraphs.
abstract long
getSavedModelSchemaVersion ()
 The schema version of the SavedModel instance.

Public Methods

public abstract MetaGraphDef getMetaGraphs (int index)

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

public abstract int getMetaGraphsCount ()

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

public abstract List< MetaGraphDef > getMetaGraphsList ()

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

public abstract MetaGraphDefOrBuilder getMetaGraphsOrBuilder (int index)

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

public abstract List<? extends MetaGraphDefOrBuilder > getMetaGraphsOrBuilderList ()

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

public abstract long getSavedModelSchemaVersion ()

 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;