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
tensorflow.MetaGraphDef
Публичные методы
MetaGraphDef.Builder | addAllAssetFileDef (Iterable<? расширяет значения AssetFileDef >) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | addAssetFileDef ( AssetFileDef.Builder builderForValue) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | addAssetFileDef (индекс int, значение AssetFileDef ) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | addAssetFileDef (индекс int, AssetFileDef.Builder builderForValue) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | |
Ассетфиледеф.строитель | addAssetFileDefBuilder (индекс int) Asset file def to be used with the defined graph. |
Ассетфиледеф.строитель | адсетассетфиледефбуилдер () Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
Метаграфдеф | строить () |
Метаграфдеф | |
MetaGraphDef.Builder | прозрачный () |
MetaGraphDef.Builder | ClearAssetFileDef () Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
MetaGraphDef.Builder | ОчиститьГрафДеф () GraphDef. |
MetaGraphDef.Builder | очиститьМетаИнфоДеф () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.Builder | ОчиститьОбъектГрафДеф () Extra information about the structure of functions and stateful objects. |
MetaGraphDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MetaGraphDef.Builder | очиститьSaverDef () SaverDef. |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | клон () |
логическое значение | содержитCollectionDef (строковый ключ) collection_def: Map from collection name to collections. |
логическое значение | содержитSignatureDef (строковый ключ) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Ассетфиледеф | getAssetFileDef (индекс int) Asset file def to be used with the defined graph. |
Ассетфиледеф.строитель | getAssetFileDefBuilder (индекс int) Asset file def to be used with the defined graph. |
Список< AssetFileDef.Builder > | getAssetFileDefBuilderList () Asset file def to be used with the defined graph. |
интервал | getAssetFileDefCount () Asset file def to be used with the defined graph. |
Список <AssetFileDef> | getAssetFileDefList () Asset file def to be used with the defined graph. |
Ассетфиледефорбилдер | getAssetFileDefOrBuilder (индекс int) Asset file def to be used with the defined graph. |
Список<? расширяет AssetFileDefOrBuilder > | getAssetFileDefOrBuilderList () Asset file def to be used with the defined graph. |
Карта<String, CollectionDef > | getCollectionDef () Вместо этого используйте getCollectionDefMap() . |
интервал | getCollectionDefCount () collection_def: Map from collection name to collections. |
Карта<String, CollectionDef > | getCollectionDefMap () collection_def: Map from collection name to collections. |
КоллекцияDef | getCollectionDefOrDefault (строковый ключ, CollectionDef defaultValue) collection_def: Map from collection name to collections. |
КоллекцияDef | getCollectionDefOrThrow (строковый ключ) collection_def: Map from collection name to collections. |
Метаграфдеф | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ГрафDef | getGraphDef () GraphDef. |
GraphDef.Builder | getGraphDefBuilder () GraphDef. |
ГрафDefOrBuilder | getGraphDefOrBuilder () GraphDef. |
MetaGraphDef.MetaInfoDef | getMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.MetaInfoDef.Builder | getMetaInfoDefBuilder () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.MetaInfoDefOrBuilder | getMetaInfoDefOrBuilder () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
Карта<String, CollectionDef > | getMutableCollectionDef () Вместо этого используйте альтернативные методы доступа к мутациям. |
Карта<String, SignatureDef > | getMutableSignatureDef () Вместо этого используйте альтернативные методы доступа к мутациям. |
СохраненныйОбъектГраф | getObjectGraphDef () Extra information about the structure of functions and stateful objects. |
SavedObjectGraph.Builder | getObjectGraphDefBuilder () 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. |
SaverDef.Builder | getSaverDefBuilder () SaverDef. |
SaverDefOrBuilder | getSaverDefOrBuilder () SaverDef. |
Карта<String, SignatureDef > | getSignatureDef () Вместо этого используйте getSignatureDefMap() . |
интервал | getSignatureDefCount () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Карта<String, SignatureDef > | getSignatureDefMap () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
ПодписьDef | getSignatureDefOrDefault (строковый ключ, SignatureDef defaultValue) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
ПодписьDef | getSignatureDefOrThrow (строковый ключ) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
логическое значение | имеетГрафDef () GraphDef. |
логическое значение | имеетМетаИнфоДеф () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
логическое значение | имеетОбъектГрафДеф () Extra information about the structure of functions and stateful objects. |
логическое значение | имеетSaverDef () SaverDef. |
последнее логическое значение | |
MetaGraphDef.Builder | mergeFrom (com.google.protobuf.Message другое) |
MetaGraphDef.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | mergeMetaInfoDef (значение MetaGraphDef.MetaInfoDef ) .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.Builder | mergeObjectGraphDef (значение SavedObjectGraph ) Extra information about the structure of functions and stateful objects. |
MetaGraphDef.Builder | |
окончательный MetaGraphDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
MetaGraphDef.Builder | putAllCollectionDef (значения Map<String, CollectionDef >) collection_def: Map from collection name to collections. |
MetaGraphDef.Builder | putAllSignatureDef (значения Map<String, SignatureDef >) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
MetaGraphDef.Builder | putCollectionDef (строковый ключ, значение CollectionDef ) collection_def: Map from collection name to collections. |
MetaGraphDef.Builder | putSignatureDef (строковый ключ, значение SignatureDef ) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
MetaGraphDef.Builder | RemoveAssetFileDef (индекс int) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | RemoveCollectionDef (строковый ключ) collection_def: Map from collection name to collections. |
MetaGraphDef.Builder | RemoveSignatureDef (строковый ключ) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
MetaGraphDef.Builder | setAssetFileDef (индекс int, значение AssetFileDef ) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | setAssetFileDef (индекс int, AssetFileDef.Builder builderForValue) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | setMetaInfoDef (значение MetaGraphDef.MetaInfoDef ) .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.Builder | setMetaInfoDef ( MetaGraphDef.MetaInfoDef.Builder builderForValue) .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.Builder | setObjectGraphDef (значение SavedObjectGraph ) Extra information about the structure of functions and stateful objects. |
MetaGraphDef.Builder | setObjectGraphDef ( SavedObjectGraph.Builder builderForValue) Extra information about the structure of functions and stateful objects. |
MetaGraphDef.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | |
окончательный MetaGraphDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public MetaGraphDef.Builder addAllAssetFileDef (Iterable<? расширяет значения AssetFileDef >)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef ( AssetFileDef.Builder builderForValue)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef (индекс int, значение AssetFileDef )
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef (индекс int, AssetFileDef.Builder builderForValue)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef (значение AssetFileDef )
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDef.Builder addAssetFileDefBuilder (индекс int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
общедоступный AssetFileDef.Builder addAssetFileDefBuilder ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public MetaGraphDef.Builder ClearAssetFileDef ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
общедоступный MetaGraphDef.Builder ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
public MetaGraphDef.Builder ClearMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
общедоступный MetaGraphDef.Builder ClearObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
общедоступный MetaGraphDef.Builder ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
общедоступное логическое значение containsCollectionDef (строковый ключ)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
общедоступное логическое значение containsSignatureDef (строковый ключ)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public AssetFileDef getAssetFileDef (индекс int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
общедоступный AssetFileDef.Builder getAssetFileDefBuilder (индекс int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
общедоступный список < AssetFileDef.Builder > getAssetFileDefBuilderList ()
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;
общедоступный список < AssetFileDef > getAssetFileDefList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDefOrBuilder getAssetFileDefOrBuilder (индекс int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
общедоступный список<? расширяет AssetFileDefOrBuilder > getAssetFileDefOrBuilderList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
общедоступная Map<String, CollectionDef > getCollectionDef ()
Вместо этого используйте getCollectionDefMap()
.
public int getCollectionDefCount ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
общедоступная 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 (строковый ключ, 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 (строковый ключ)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступный GraphDefOrBuilder getGraphDefOrBuilder ()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public MetaGraphDef.MetaInfoDef getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.MetaInfoDef.Builder getMetaInfoDefBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
общедоступная Map<String, CollectionDef > getMutableCollectionDef ()
Вместо этого используйте альтернативные методы доступа к мутациям.
общедоступная Map<String, SignatureDef > getMutableSignatureDef ()
Вместо этого используйте альтернативные методы доступа к мутациям.
общедоступный SavedObjectGraph getObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
общедоступный SavedObjectGraph.Builder getObjectGraphDefBuilder ()
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;
общественный SaverDefOrBuilder getSaverDefOrBuilder ()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
общедоступная Map<String, SignatureDef > getSignatureDef ()
Вместо этого используйте 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;
public SignatureDef getSignatureDefOrDefault (строковый ключ, 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 (строковый ключ)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
общедоступное логическое значение hasGraphDef ()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
общедоступное логическое значение hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
общедоступное логическое значение hasObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
общедоступное логическое значение hasSaverDef ()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
публичное окончательное логическое значение isInitialized ()
общедоступный MetaGraphDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public MetaGraphDef.Builder mergeGraphDef (значение GraphDef )
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public MetaGraphDef.Builder mergeMetaInfoDef (значение MetaGraphDef.MetaInfoDef )
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.Builder mergeObjectGraphDef (значение SavedObjectGraph )
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public MetaGraphDef.Builder mergeSaverDef (значение SaverDef )
SaverDef.
.tensorflow.SaverDef saver_def = 3;
публичный финал MetaGraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public MetaGraphDef.Builder putAllCollectionDef (значения Map<String, CollectionDef >)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public MetaGraphDef.Builder putAllSignatureDef (значения Map<String, SignatureDef >)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public MetaGraphDef.Builder putCollectionDef (строковый ключ, значение CollectionDef )
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public MetaGraphDef.Builder putSignatureDef (строковый ключ, значение SignatureDef )
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public MetaGraphDef.Builder RemoveAssetFileDef (индекс int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder removeCollectionDef (строковый ключ)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public MetaGraphDef.Builder RemoveSignatureDef (строковый ключ)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public MetaGraphDef.Builder setAssetFileDef (индекс int, значение AssetFileDef )
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder setAssetFileDef (int index, AssetFileDef.Builder builderForValue)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public MetaGraphDef.Builder setGraphDef ( GraphDef.Builder builderForValue)
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public MetaGraphDef.Builder setGraphDef (значение GraphDef )
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public MetaGraphDef.Builder setMetaInfoDef (значение MetaGraphDef.MetaInfoDef )
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.Builder setMetaInfoDef ( MetaGraphDef.MetaInfoDef.Builder builderForValue)
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.Builder setObjectGraphDef (значение SavedObjectGraph )
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public MetaGraphDef.Builder setObjectGraphDef ( SavedObjectGraph.Builder builderForValue )
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public MetaGraphDef.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public MetaGraphDef.Builder setSaverDef (значение SaverDef )
SaverDef.
.tensorflow.SaverDef saver_def = 3;
public MetaGraphDef.Builder setSaverDef ( SaverDef.Builder builderForValue)
SaverDef.
.tensorflow.SaverDef saver_def = 3;