Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ loop_fn
Function
loop_fn
tensorflow/python/ops/parallel_for/gradients.py:53–55 ·
view source on GitHub ↗
(i)
Source
from the content-addressed store, hash-verified
51
output = array_ops.reshape(output, [-1])
52
53
def
loop_fn(i):
54
y = array_ops.gather(output, i)
55
return
gradient_ops.gradients(y, flat_inputs)
56
57
try
:
58
output_size = int(output.shape[0])
Callers
10
raw_rnn
Function · 0.50
body
Function · 0.50
raw_rnn
Function · 0.50
body
Function · 0.50
raw_rnn
Function · 0.50
body
Function · 0.50
raw_rnn
Function · 0.50
body
Function · 0.50
raw_rnn
Function · 0.50
body
Function · 0.50
Calls
1
gather
Method · 0.45
Tested by
no test coverage detected