classe final pública 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
Classes aninhadas
aula | MetaGraphDef.Builder | NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. | |
aula | MetaGraphDef.MetaInfoDef | Meta information regarding the graph to be exported. | |
interface | MetaGraphDef.MetaInfoDefOrBuilder |
Constantes
interno | ASSET_FILE_DEF_FIELD_NUMBER | |
interno | COLLECTION_DEF_FIELD_NUMBER | |
interno | GRAPH_DEF_FIELD_NUMBER | |
interno | META_INFO_DEF_FIELD_NUMBER | |
interno | OBJECT_GRAPH_DEF_FIELD_NUMBER | |
interno | SAVER_DEF_FIELD_NUMBER | |
interno | SIGNATURE_DEF_FIELD_NUMBER |
Métodos Públicos
booleano | contémCollectionDef (chave de string) collection_def: Map from collection name to collections. |
booleano | contémSignatureDef (chave de string) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
booleano | é igual (objeto obj) |
AssetFileDef | getAssetFileDef (índice interno) Asset file def to be used with the defined graph. |
interno | getAssetFileDefCount () Asset file def to be used with the defined graph. |
Lista <AssetFileDef> | getAssetFileDefList () Asset file def to be used with the defined graph. |
AssetFileDefOrBuilder | getAssetFileDefOrBuilder (índice interno) Asset file def to be used with the defined graph. |
Lista<? estende AssetFileDefOrBuilder > | getAssetFileDefOrBuilderList () Asset file def to be used with the defined graph. |
Mapa<String, CollectionDef > | getCollectionDef () Use getCollectionDefMap() em vez disso. |
interno | getCollectionDefCount () collection_def: Map from collection name to collections. |
Mapa<String, CollectionDef > | getCollectionDefMap () collection_def: Map from collection name to collections. |
ColeçãoDef | getCollectionDefOrDefault (chave de string, CollectionDef defaultValue) collection_def: Map from collection name to collections. |
ColeçãoDef | getCollectionDefOrThrow (chave de string) collection_def: Map from collection name to collections. |
MetaGraphDef estático | |
MetaGraphDef | |
final estático com.google.protobuf.Descriptors.Descriptor | |
GráficoDef | 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; |
SalvoObjectGraph | 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 | getSaverDefOrBuilder () SaverDef. |
interno | |
Mapa<String, SignatureDef > | getSignatureDef () Use getSignatureDefMap() em vez disso. |
interno | getSignatureDefCount () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Mapa<String, SignatureDef > | getSignatureDefMap () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
AssinaturaDef | getSignatureDefOrDefault (chave de string, SignatureDef defaultValue) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
AssinaturaDef | getSignatureDefOrThrow (chave de string) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
final com.google.protobuf.UnknownFieldSet | |
booleano | hasGraphDef () GraphDef. |
booleano | hasMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
booleano | hasObjectGraphDef () Extra information about the structure of functions and stateful objects. |
booleano | hasSaverDef () SaverDef. |
interno | código hash () |
booleano final | |
MetaGraphDef.Builder estático | |
MetaGraphDef.Builder estático | newBuilder (protótipo MetaGraphDef ) |
MetaGraphDef.Builder | |
MetaGraphDef estático | parseDelimitedFrom (entrada InputStream) |
MetaGraphDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
MetaGraphDef estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (dados de ByteBuffer) |
MetaGraphDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (dados com.google.protobuf.ByteString) |
MetaGraphDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
MetaGraphDef.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int ASSET_FILE_DEF_FIELD_NUMBER
Valor Constante: 6
público estático final int COLLECTION_DEF_FIELD_NUMBER
Valor Constante: 4
int final estático público GRAPH_DEF_FIELD_NUMBER
Valor Constante: 2
público estático final int META_INFO_DEF_FIELD_NUMBER
Valor Constante: 1
int final estático público OBJECT_GRAPH_DEF_FIELD_NUMBER
Valor Constante: 7
público estático final int SAVER_DEF_FIELD_NUMBER
Valor Constante: 3
público estático final int SIGNATURE_DEF_FIELD_NUMBER
Valor Constante: 5
Métodos Públicos
booleano público contémCollectionDef (chave String)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
booleano público contémSignatureDef (chave String)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
booleano público é igual (Object obj)
public AssetFileDef getAssetFileDef (índice int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
público int getAssetFileDefCount ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Lista pública< AssetFileDef > getAssetFileDefList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
público AssetFileDefOrBuilder getAssetFileDefOrBuilder (índice int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Lista pública<? estende AssetFileDefOrBuilder > getAssetFileDefOrBuilderList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
público int getCollectionDefCount ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
mapa público<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 (chave String, 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 (chave de string)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público MetaGraphDef.MetaInfoDef getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
público MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
público SavedObjectGraph getObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
público SavedObjectGraphOrBuilder getObjectGraphDefOrBuilder ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
público getParserForType ()
público int getSerializedSize ()
público int getSignatureDefCount ()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
mapa público<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 (chave String, 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 (chave de string)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasGraphDef booleano público ()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
público booleano hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
hasObjectGraphDef booleano público ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
hasSaverDef booleano público ()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
hashCode int público ()
público final booleano isInitialized ()
público estático MetaGraphDef parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público estático MetaGraphDef parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
público estático MetaGraphDef parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
público estático MetaGraphDef parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
público estático MetaGraphDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público estático MetaGraphDef parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público estático MetaGraphDef parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|