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

Method disable_run_metadata

tensorflow/python/eager/context.py:1432–1436  ·  view source on GitHub ↗

Disables tracing of op execution via RunMetadata.

(self)

Source from the content-addressed store, hash-verified

1430 pywrap_tensorflow.TFE_ContextEnableRunMetadata(self._handle)
1431
1432 def disable_run_metadata(self):
1433 """Disables tracing of op execution via RunMetadata."""
1434 if not self._context_handle:
1435 return
1436 pywrap_tensorflow.TFE_ContextDisableRunMetadata(self._context_handle)
1437
1438 def enable_graph_collection(self):
1439 """Enables graph collection of executed functions.

Callers 3

trace_offFunction · 0.80
disable_run_metadataFunction · 0.80
testRunMetadataMethod · 0.80

Calls

no outgoing calls

Tested by 1

testRunMetadataMethod · 0.64