| reduction-chain-rule | R Documentation |
Walk the solving chain during Problem$backward() / Problem$derivative().
Each hook takes and returns a named list keyed by as.character(leaf@id)
whose values are shaped arrays (the leaf's dim). The base Reduction
methods are identity pass-throughs.
var_backward(x, del_vars)
var_forward(x, dvars)
param_backward(x, dparams)
param_forward(x, param_deltas)
x |
A |
del_vars |
Named list |
dvars |
Named list |
dparams |
Named list |
param_deltas |
Named list |
For var_backward: the same map in the inner (reduced) representation.
For var_forward: the same map in the outer (original) representation.
For param_backward: the same map in the outer (original) representation.
For param_forward: the same map in the inner (transformed) representation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.