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

Function graph_mode

tensorflow/python/eager/context.py:1631–1633  ·  view source on GitHub ↗

Context-manager to disable eager execution for the current thread.

()

Source from the content-addressed store, hash-verified

1629
1630
1631def graph_mode():
1632 """Context-manager to disable eager execution for the current thread."""
1633 return context()._mode(GRAPH_MODE) # pylint: disable=protected-access
1634
1635
1636def eager_mode():

Callers

nothing calls this directly

Calls 2

contextFunction · 0.85
_modeMethod · 0.45

Tested by

no test coverage detected