MetaGraphDef

public final class MetaGraphDef

 NOTE: This protocol buffer is evolving, and will go through revisions in the
 coming months.
 Protocol buffer containing the following which are necessary to restart
 training, run inference. It can be used to serialize/de-serialize memory
 objects necessary for running computation in a graph when crossing the
 process boundary. It can be used for long term storage of graphs,
 cross-language execution of graphs, etc.
   MetaInfoDef
   GraphDef
   SaverDef
   CollectionDef
   TensorInfo
   SignatureDef
 
Protobuf type tensorflow.MetaGraphDef

Nested Classes

class MetaGraphDef.Builder
 NOTE: This protocol buffer is evolving, and will go through revisions in the
 coming months. 
class MetaGraphDef.MetaInfoDef
 Meta information regarding the graph to be exported. 
interface MetaGraphDef.MetaInfoDefOrBuilder

Constants

int ASSET_FILE_DEF_FIELD_NUMBER
int COLLECTION_DEF_FIELD_NUMBER
int GRAPH_DEF_FIELD_NUMBER
int META_INFO_DEF_FIELD_NUMBER
int OBJECT_GRAPH_DEF_FIELD_NUMBER
int SAVER_DEF_FIELD_NUMBER
int SIGNATURE_DEF_FIELD_NUMBER

Public Methods

boolean
containsCollectionDef (String key)
 collection_def: Map from collection name to collections.
boolean
containsSignatureDef (String key)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
boolean
equals (Object obj)
AssetFileDef
getAssetFileDef (int index)
 Asset file def to be used with the defined graph.
int
getAssetFileDefCount ()
 Asset file def to be used with the defined graph.
List< AssetFileDef >
getAssetFileDefList ()
 Asset file def to be used with the defined graph.
AssetFileDefOrBuilder
getAssetFileDefOrBuilder (int index)
 Asset file def to be used with the defined graph.
List<? extends AssetFileDefOrBuilder >
getAssetFileDefOrBuilderList ()
 Asset file def to be used with the defined graph.
Map<String, CollectionDef >
int
getCollectionDefCount ()
 collection_def: Map from collection name to collections.
Map<String, CollectionDef >
getCollectionDefMap ()
 collection_def: Map from collection name to collections.
CollectionDef
getCollectionDefOrDefault (String key, CollectionDef defaultValue)
 collection_def: Map from collection name to collections.
CollectionDef
getCollectionDefOrThrow (String key)
 collection_def: Map from collection name to collections.
static MetaGraphDef
MetaGraphDef
final static com.google.protobuf.Descriptors.Descriptor
GraphDef
getGraphDef ()
 GraphDef.
GraphDefOrBuilder
MetaGraphDef.MetaInfoDef
getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.MetaInfoDefOrBuilder
getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
SavedObjectGraph
getObjectGraphDef ()
 Extra information about the structure of functions and stateful objects.
SavedObjectGraphOrBuilder
getObjectGraphDefOrBuilder ()
 Extra information about the structure of functions and stateful objects.
SaverDef
getSaverDef ()
 SaverDef.
SaverDefOrBuilder
int
Map<String, SignatureDef >
int
getSignatureDefCount ()
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
Map<String, SignatureDef >
getSignatureDefMap ()
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
SignatureDef
getSignatureDefOrDefault (String key, SignatureDef defaultValue)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
SignatureDef
getSignatureDefOrThrow (String key)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
final com.google.protobuf.UnknownFieldSet
boolean
hasGraphDef ()
 GraphDef.
boolean
hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
boolean
hasObjectGraphDef ()
 Extra information about the structure of functions and stateful objects.
boolean
hasSaverDef ()
 SaverDef.
int
final boolean
static MetaGraphDef.Builder
static MetaGraphDef.Builder
MetaGraphDef.Builder
static MetaGraphDef
parseDelimitedFrom (InputStream input)
static MetaGraphDef
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom (com.google.protobuf.CodedInputStream input)
static MetaGraphDef
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom (ByteBuffer data)
static MetaGraphDef
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom (com.google.protobuf.ByteString data)
static MetaGraphDef
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
MetaGraphDef.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods