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

Function IsInWhileLoop

tensorflow/python/ops/control_flow_util.py:82–84  ·  view source on GitHub ↗
(op)

Source from the content-addressed store, hash-verified

80
81
82def IsInWhileLoop(op):
83 ctxt = op._get_control_flow_context() # pylint: disable=protected-access
84 return GetContainingWhileContext(ctxt) is not None
85
86
87def IsInCond(op):

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected