Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _is_loop_invariant
Function
_is_loop_invariant
tensorflow/python/ops/while_v2.py:1149–1150 ·
view source on GitHub ↗
(tensor, inputs, outputs)
Source
from the content-addressed store, hash-verified
1147
1148
1149
def
_is_loop_invariant(tensor, inputs, outputs):
1150
return
tensor in inputs and tensor in outputs
1151
1152
# pylint: enable=protected-access
Callers
2
_create_grad_func
Function · 0.85
_capture_helper
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected