MCPcopy Create free account
hub / github.com/alibaba/nann / export_meta_graph

Function export_meta_graph

tensorflow/tensorflow/python/training/saver.py:1509–1590  ·  view source on GitHub ↗

Returns `MetaGraphDef` proto. Optionally writes it to filename. This function exports the graph, saver, and collection objects into `MetaGraphDef` protocol buffer with the intention of it being imported at a later time or location to restart training, run inference, or be a subgraph.

(filename=None,
                      meta_info_def=None,
                      graph_def=None,
                      saver_def=None,
                      collection_list=None,
                      as_text=False,
                      graph=None,
                      export_scope=None,
                      clear_devices=False,
                      clear_extraneous_savers=False,
                      strip_default_attrs=False,
                      save_debug_info=False,
                      **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_inline_functionsMethod · 0.90
export_meta_graphMethod · 0.85

Calls 1

executing_eagerlyMethod · 0.80

Tested by 1

_inline_functionsMethod · 0.72