MCPcopy 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_rnnFunction · 0.50
bodyFunction · 0.50
raw_rnnFunction · 0.50
bodyFunction · 0.50
raw_rnnFunction · 0.50
bodyFunction · 0.50
raw_rnnFunction · 0.50
bodyFunction · 0.50
raw_rnnFunction · 0.50
bodyFunction · 0.50

Calls 1

gatherMethod · 0.45

Tested by

no test coverage detected