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

Function AddWhileGradientLoop

tensorflow/tensorflow/cc/framework/while_gradients.cc:136–175  ·  view source on GitHub ↗

Creates the main backprop loop that computes the gradient of the loop associated with `while_ctx`. `grad_inputs` are the partial derivatives w.r.t. the loop outputs, i.e. the exit nodes. `backprop_execution_pred` is the predicate to use for the backprop loop (see AddBackPropLoopCounter()). The partial derivatives w.r.t. the loop inputs, i.e. the input loop vars, are returned in `grad_outputs`.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AddWhileLoopGradientFunction · 0.85

Calls 6

ToOutputVectorFunction · 0.85
BackPropFrameNameFunction · 0.85
BuildWhileLoopFunction · 0.85
NewSubScopeMethod · 0.80
AddSymbolicGradientsFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected