classe finale publique 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
tensorflow.MetaGraphDef
de type Protobuf.MetaGraphDef Classes imbriquées
classe | MetaGraphDef.Builder | NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. | |
classe | MetaGraphDef.MetaInfoDef | Meta information regarding the graph to be exported. | |
interface | MetaGraphDef.MetaInfoDefOrBuilder |
Constantes
Méthodes publiques
booléen | contientCollectionDef (clé de chaîne) collection_def: Map from collection name to collections. |
booléen | contientSignatureDef (clé de chaîne) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
booléen | est égal (Obj objet) |
AssetFileDef | getAssetFileDef (index int) Asset file def to be used with the defined graph. |
int | getAssetFileDefCount () Asset file def to be used with the defined graph. |
Liste< AssetFileDef > | getAssetFileDefList () Asset file def to be used with the defined graph. |
AssetFileDefOrBuilder | getAssetFileDefOrBuilder (index int) Asset file def to be used with the defined graph. |
Liste<? étend AssetFileDefOrBuilder > | getAssetFileDefOrBuilderList () Asset file def to be used with the defined graph. |
Carte<String, CollectionDef > | getCollectionDef () Utilisez plutôt getCollectionDefMap() . |
int | getCollectionDefCount () collection_def: Map from collection name to collections. |
Carte<String, CollectionDef > | getCollectionDefMap () collection_def: Map from collection name to collections. |
CollectionDef | getCollectionDefOrDefault (clé de chaîne, CollectionDef defaultValue) collection_def: Map from collection name to collections. |
CollectionDef | getCollectionDefOrThrow (clé de chaîne) collection_def: Map from collection name to collections. |
MetaGraphDef statique | |
MétaGraphDef | |
final statique com.google.protobuf.Descriptors.Descriptor | |
GraphDef | getGraphDef () GraphDef. |
GraphDefOrBuilder | getGraphDefOrBuilder () GraphDef. |
MetaGraphDef.MetaInfoDef | getMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.MetaInfoDefOrBuilder | getMetaInfoDefOrBuilder () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
GraphiqueObjetEnregistré | getObjectGraphDef () Extra information about the structure of functions and stateful objects. |
SavedObjectGraphOrBuilder | getObjectGraphDefOrBuilder () Extra information about the structure of functions and stateful objects. |
ÉconomiseurDef | getSaverDef () SaverDef. |
SaverDefOrBuilder | getSaverDefOrBuilder () SaverDef. |
int | |
Carte<String, SignatureDef > | getSignatureDef () Utilisez plutôt getSignatureDefMap() . |
int | getSignatureDefCount () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Carte<String, SignatureDef > | getSignatureDefMap () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
SignatureDef | getSignatureDefOrDefault (clé de chaîne, SignatureDef defaultValue) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
SignatureDef | getSignatureDefOrThrow (clé de chaîne) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
final com.google.protobuf.UnknownFieldSet | |
booléen | hasGraphDef () GraphDef. |
booléen | hasMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
booléen | hasObjectGraphDef () Extra information about the structure of functions and stateful objects. |
booléen | hasSaverDef () SaverDef. |
int | |
booléen final | |
MetaGraphDef.Builder statique | |
MetaGraphDef.Builder statique | newBuilder (prototype MetaGraphDef ) |
MetaGraphDef.Builder | |
MetaGraphDef statique | parseDelimitedFrom (entrée InputStream) |
MetaGraphDef statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
MetaGraphDef statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef statique | parseFrom (données ByteBuffer) |
MetaGraphDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef statique | parseFrom (données com.google.protobuf.ByteString) |
MetaGraphDef statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
MetaGraphDef.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int ASSET_FILE_DEF_FIELD_NUMBER
Valeur constante : 6
public statique final int COLLECTION_DEF_FIELD_NUMBER
Valeur constante : 4
public statique final int GRAPH_DEF_FIELD_NUMBER
Valeur constante : 2
public statique final int META_INFO_DEF_FIELD_NUMBER
Valeur constante : 1
public statique final int OBJECT_GRAPH_DEF_FIELD_NUMBER
Valeur constante : 7
public statique final int SAVER_DEF_FIELD_NUMBER
Valeur constante : 3
public statique final int SIGNATURE_DEF_FIELD_NUMBER
Valeur constante : 5
Méthodes publiques
public boolean containCollectionDef (clé de chaîne)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public boolean containSignatureDef (clé de chaîne)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public booléen égal (Objet obj)
public AssetFileDef getAssetFileDef (index int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public int getAssetFileDefCount ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Liste publique < AssetFileDef > getAssetFileDefList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDefOrBuilder getAssetFileDefOrBuilder (index int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Liste publique <? étend AssetFileDefOrBuilder > getAssetFileDefOrBuilderList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public int getCollectionDefCount ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public Map<String, CollectionDef > getCollectionDefMap ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public CollectionDef getCollectionDefOrDefault (clé de chaîne, CollectionDef defaultValue)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public CollectionDef getCollectionDefOrThrow (clé de chaîne)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public MetaGraphDef.MetaInfoDef getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public SavedObjectGraph getObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public SavedObjectGraphOrBuilder getObjectGraphDefOrBuilder ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
publique getParserForType ()
public int getSerializedSize ()
public int getSignatureDefCount ()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public Map<String, SignatureDef > getSignatureDefMap ()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public SignatureDef getSignatureDefOrDefault (clé de chaîne, SignatureDef defaultValue)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public SignatureDef getSignatureDefOrThrow (clé de chaîne)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public booléen hasGraphDef ()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public booléen hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public booléen hasObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public booléen hasSaverDef ()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
code de hachage int public ()
public final booléen isInitialized ()
public static MetaGraphDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static MetaGraphDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique MetaGraphDef parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public static MetaGraphDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique MetaGraphDef parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static MetaGraphDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|