Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
258
def
OpInContext(op, ctxt):
259
return
IsContainingContext(op._get_control_flow_context(), ctxt)
# pylint: disable=protected-access
260
261
262
def
TensorInContext(tensor, ctxt):
Callers
1
TensorInContext
Function · 0.85
Calls
2
IsContainingContext
Function · 0.85
_get_control_flow_context
Method · 0.45
Tested by
no test coverage detected