MCPcopy Create free account
hub / github.com/alibaba/nann / _EnterGrad

Function _EnterGrad

tensorflow/tensorflow/python/ops/control_flow_grad.py:203–232  ·  view source on GitHub ↗

Gradients for an Enter are calculated using an Exit op. For loop variables, grad is the gradient so just add an exit. For loop invariants, we need to add an accumulator loop.

(op, grad)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_RefEnterGradFunction · 0.85

Calls 9

TypeErrorFunction · 0.85
typeFunction · 0.85
exitFunction · 0.85
ExitResultMethod · 0.80
get_attrMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected