MCPcopy 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
87def IsInCond(op):
88 ctxt = op._get_control_flow_context() # pylint: disable=protected-access
89 return GetContainingCondContext(ctxt) is not None
90
91
92def IsSwitch(op):

Callers

nothing calls this directly

Calls 2

GetContainingCondContextFunction · 0.85

Tested by

no test coverage detected