Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _add_to_stack
Method
_add_to_stack
tensorflow/python/ops/parallel_for/pfor.py:1291–1296 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
1289
# 1. Convert inputs and control inputs.
1290
1291
def
_add_to_stack(x):
1292
if
x not in self._conversion_map:
1293
stack.insert(0, x)
1294
return
True
1295
else
:
1296
return
False
1297
1298
if
is_inside_loop:
1299
added_to_stack = False
Callers
nothing calls this directly
Calls
1
insert
Method · 0.45
Tested by
no test coverage detected