publiczna klasa końcowa 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
Klasy zagnieżdżone
klasa | Kreator MetaGraphDef | NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. | |
klasa | MetaGraphDef.MetaInfoDef | Meta information regarding the graph to be exported. | |
interfejs | MetaGraphDef.MetaInfoDefOrBuilder |
Stałe
Metody publiczne
wartość logiczna | zawieraCollectionDef (klucz ciągu) collection_def: Map from collection name to collections. |
wartość logiczna | zawieraSignatureDef (klucz ciągu) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
wartość logiczna | równa się (obiekt obiektu) |
Wartość pliku zasobów | getAssetFileDef (indeks int) Asset file def to be used with the defined graph. |
wew | 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 (indeks int) Asset file def to be used with the defined graph. |
Lista<? rozszerza AssetFileDefOrBuilder > | getAssetFileDefOrBuilderList () Asset file def to be used with the defined graph. |
Mapa<String, CollectionDef > | getCollectionDef () Zamiast tego użyj getCollectionDefMap() . |
wew | getCollectionDefCount () collection_def: Map from collection name to collections. |
Mapa<String, CollectionDef > | getCollectionDefMap () collection_def: Map from collection name to collections. |
Kolekcja Def | getCollectionDefOrDefault (klucz ciągu, wartość domyślna CollectionDef ) collection_def: Map from collection name to collections. |
Kolekcja Def | getCollectionDefOrThrow (klawisz ciągu) collection_def: Map from collection name to collections. |
statyczny MetaGraphDef | |
MetaGraphDef | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
WykresDef | 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; |
Wykres zapisanego obiektu | getObjectGraphDef () Extra information about the structure of functions and stateful objects. |
SavedObjectGraphOrBuilder | getObjectGraphDefOrBuilder () Extra information about the structure of functions and stateful objects. |
OszczędzaczDef | getSaverDef () SaverDef. |
SaverDefOrBuilder | getSaverDefOrBuilder () SaverDef. |
wew | |
Mapa<String, SignatureDef > | getSignatureDef () Zamiast tego użyj funkcji getSignatureDefMap() . |
wew | 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. |
PodpisDef | getSignatureDefOrDefault (klucz ciągu, domyślna wartość SignatureDef ) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
PodpisDef | getSignatureDefOrThrow (klawisz ciągu) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
końcowy com.google.protobuf.UnknownFieldSet | |
wartość logiczna | maGraphDef () GraphDef. |
wartość logiczna | maMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
wartość logiczna | maObjectGraphDef () Extra information about the structure of functions and stateful objects. |
wartość logiczna | maSaverDef () SaverDef. |
wew | hashCode () |
końcowa wartość logiczna | |
statyczny MetaGraphDef.Builder | nowyBuilder () |
statyczny MetaGraphDef.Builder | newBuilder (prototyp MetaGraphDef ) |
Kreator MetaGraphDef | |
statyczny MetaGraphDef | parseDelimitedFrom (wejście strumienia wejściowego) |
statyczny MetaGraphDef | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny MetaGraphDef | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny MetaGraphDef | parseFrom (wejście com.google.protobuf.CodedInputStream) |
statyczny MetaGraphDef | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
statyczny MetaGraphDef | parseFrom (dane ByteBuffer) |
statyczny MetaGraphDef | parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny MetaGraphDef | parseFrom (dane com.google.protobuf.ByteString) |
statyczny MetaGraphDef | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny MetaGraphDef | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny | parser () |
Kreator MetaGraphDef | |
próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int ASSET_FILE_DEF_FIELD_NUMBER
Wartość stała: 6
publiczny statyczny końcowy int COLLECTION_DEF_FIELD_NUMBER
Wartość stała: 4
publiczny statyczny końcowy int GRAPH_DEF_FIELD_NUMBER
Wartość stała: 2
publiczny statyczny końcowy int META_INFO_DEF_FIELD_NUMBER
Wartość stała: 1
publiczny statyczny końcowy int OBJECT_GRAPH_DEF_FIELD_NUMBER
Wartość stała: 7
publiczny statyczny końcowy int SAVER_DEF_FIELD_NUMBER
Wartość stała: 3
publiczny statyczny końcowy int SIGNATURE_DEF_FIELD_NUMBER
Wartość stała: 5
Metody publiczne
publiczna wartość logiczna zawieraCollectionDef (klucz ciągu)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
publiczna wartość logiczna zawieraSignatureDef (klucz ciągu)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
publiczna wartość logiczna równa się (obiekt obiektu)
publiczny AssetFileDef getAssetFileDef (indeks 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;
lista publiczna< AssetFileDef > getAssetFileDefList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
publiczny AssetFileDefOrBuilder getAssetFileDefOrBuilder (indeks int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
lista publiczna<? rozszerza 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 (klucz ciągu, wartość domyślna CollectionDef )
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public CollectionDef getCollectionDefOrThrow (klucz ciąg)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publiczny MetaGraphDef.MetaInfoDef getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
publiczny SavedObjectGraph getObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
publiczny SavedObjectGraphOrBuilder getObjectGraphDefOrBuilder ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
publiczny getParserForType ()
publiczny int getSerializedSize ()
public Map<String, SignatureDef > getSignatureDef ()
Zamiast tego użyj funkcji getSignatureDefMap()
.
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;
publiczny SignatureDef getSignatureDefOrDefault (klucz ciągu, domyślna wartość SignatureDef )
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
publiczny SignatureDef getSignatureDefOrThrow (klucz ciąg)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczna wartość logiczna hasGraphDef ()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
publiczna wartość logiczna hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
publiczna wartość logiczna maObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
publiczna wartość logiczna hasSaverDef ()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
publiczny statyczny MetaGraphDef parseDelimitedFrom (wejście strumienia wejściowego)
Rzuca
Wyjątek IO |
---|
publiczny statyczny MetaGraphDef parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny statyczny MetaGraphDef parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
publiczny statyczny MetaGraphDef parseFrom (wejście com.google.protobuf.CodedInputStream)
Rzuca
Wyjątek IO |
---|
publiczny statyczny MetaGraphDef parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
public static MetaGraphDef parseFrom (dane ByteBuffer)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
public static MetaGraphDef parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny statyczny MetaGraphDef parseFrom (dane com.google.protobuf.ByteString)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
publiczny statyczny MetaGraphDef parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny statyczny MetaGraphDef parseFrom (com.google.protobuf.ByteString dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
publiczna statyka parser ()
public void writeTo (wyjście com.google.protobuf.CodedOutputStream)
Rzuca
Wyjątek IO |
---|