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

Function IsLoopEnter

tensorflow/python/ops/control_flow_util.py:102–104  ·  view source on GitHub ↗

Returns true if `op` is an Enter.

(op)

Source from the content-addressed store, hash-verified

100
101
102def IsLoopEnter(op):
103 """Returns true if `op` is an Enter."""
104 return op.type == "Enter" or op.type == "RefEnter"
105
106
107def IsLoopExit(op):

Callers 3

IsCondSwitchFunction · 0.85
IsLoopConstantEnterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected