Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ IsInCond
Function
IsInCond
tensorflow/python/ops/control_flow_util.py:87–89 ·
view source on GitHub ↗
(op)
Source
from the content-addressed store, hash-verified
85
86
87
def
IsInCond(op):
88
ctxt = op._get_control_flow_context()
# pylint: disable=protected-access
89
return
GetContainingCondContext(ctxt) is not None
90
91
92
def
IsSwitch(op):
Callers
nothing calls this directly
Calls
2
GetContainingCondContext
Function · 0.85
_get_control_flow_context
Method · 0.45
Tested by
no test coverage detected