Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
102
def
IsLoopEnter(op):
103
""
"Returns true if `op` is an Enter."
""
104
return
op.type ==
"Enter"
or op.type ==
"RefEnter"
105
106
107
def
IsLoopExit(op):
Callers
3
IsCondSwitch
Function · 0.85
IsLoopConstantEnter
Function · 0.85
CheckInputFromValidContext
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected