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

Function enable_run_metadata

tensorflow/python/eager/context.py:1826–1832  ·  view source on GitHub ↗

Enables tracing of op execution via RunMetadata. To retrieve the accumulated metadata call context.export_run_metadata() and to stop tracing call context.disable_run_metadata().

()

Source from the content-addressed store, hash-verified

1824
1825
1826def enable_run_metadata():
1827 """Enables tracing of op execution via RunMetadata.
1828
1829 To retrieve the accumulated metadata call context.export_run_metadata()
1830 and to stop tracing call context.disable_run_metadata().
1831 """
1832 context().enable_run_metadata()
1833
1834
1835def disable_run_metadata():

Callers

nothing calls this directly

Calls 2

contextFunction · 0.85
enable_run_metadataMethod · 0.80

Tested by

no test coverage detected