MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / enable_graph_collection

Function enable_graph_collection

tensorflow/python/eager/context.py:1840–1846  ·  view source on GitHub ↗

Enables graph collection of executed functions. To retrieve the accumulated graphs call context.export_run_metadata() and to stop collecting graphs call context.disable_graph_collection().

()

Source from the content-addressed store, hash-verified

1838
1839
1840def enable_graph_collection():
1841 """Enables graph collection of executed functions.
1842
1843 To retrieve the accumulated graphs call context.export_run_metadata()
1844 and to stop collecting graphs call context.disable_graph_collection().
1845 """
1846 context().enable_graph_collection()
1847
1848
1849def disable_graph_collection():

Callers

nothing calls this directly

Calls 2

contextFunction · 0.85

Tested by

no test coverage detected