MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / eagerly_executed_grad

Function eagerly_executed_grad

tensorflow/python/ops/script_ops.py:332–334  ·  view source on GitHub ↗
(*dy)

Source from the content-addressed store, hash-verified

330 token = op.get_attr("token")
331
332 def eagerly_executed_grad(*dy):
333 tape, eager_inputs, eager_outputs = tape_cache.pop(compat.as_bytes(token))
334 return tape.gradient(eager_outputs, eager_inputs, output_gradients=dy)
335
336 with ops.control_dependencies(op.outputs):
337 return _internal_py_func(

Callers

nothing calls this directly

Calls 2

gradientMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected