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

Function context_safe

tensorflow/python/eager/context.py:1566–1568  ·  view source on GitHub ↗

Returns current context (or None if one hasn't been initialized).

()

Source from the content-addressed store, hash-verified

1564
1565
1566def context_safe():
1567 """Returns current context (or None if one hasn't been initialized)."""
1568 return _context
1569
1570
1571def ensure_initialized():

Callers 2

executing_eagerlyFunction · 0.85
_tmp_in_graph_modeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected