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

Function OpInContext

tensorflow/python/ops/control_flow_util.py:258–259  ·  view source on GitHub ↗
(op, ctxt)

Source from the content-addressed store, hash-verified

256
257
258def OpInContext(op, ctxt):
259 return IsContainingContext(op._get_control_flow_context(), ctxt) # pylint: disable=protected-access
260
261
262def TensorInContext(tensor, ctxt):

Callers 1

TensorInContextFunction · 0.85

Calls 2

IsContainingContextFunction · 0.85

Tested by

no test coverage detected