SavedModel

public final class SavedModel

 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

Nested Classes

class SavedModel.Builder
 SavedModel is the high level serialization format for TensorFlow Models. 

Constants

int META_GRAPHS_FIELD_NUMBER
int SAVED_MODEL_SCHEMA_VERSION_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static SavedModel
SavedModel
final static com.google.protobuf.Descriptors.Descriptor
MetaGraphDef
getMetaGraphs(int index)
 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.
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static SavedModel.Builder
newBuilder(SavedModel prototype)
static SavedModel.Builder
SavedModel.Builder
static SavedModel
parseDelimitedFrom(InputStream input)
static SavedModel
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedModel
parseFrom(ByteBuffer data)
static SavedModel
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedModel
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedModel
parseFrom(com.google.protobuf.CodedInputStream input)
static SavedModel
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedModel
parseFrom(com.google.protobuf.ByteString data)
static SavedModel
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedModel
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
SavedModel.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int META_GRAPHS_FIELD_NUMBER

Constant Value: 2

public static final int SAVED_MODEL_SCHEMA_VERSION_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static SavedModel getDefaultInstance ()

public SavedModel getDefaultInstanceForType ()

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

public MetaGraphDef getMetaGraphs (int index)

 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;

public List<? extends MetaGraphDefOrBuilder> getMetaGraphsOrBuilderList ()

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

public getParserForType ()

public 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;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static SavedModel.Builder newBuilder (SavedModel prototype)

public static SavedModel.Builder newBuilder ()

public SavedModel.Builder newBuilderForType ()

public static SavedModel parseDelimitedFrom (InputStream input)

Throws
IOException

public static SavedModel parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SavedModel parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static SavedModel parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SavedModel parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SavedModel parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static SavedModel parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SavedModel parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static SavedModel parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SavedModel parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public SavedModel.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException