Function dfdx::tensor_ops::backward
source · [−]Expand description
Runs backprop algorithm with all operations contained in the tape that t
has.
This function takes ownership of t
and returns Gradients.
Note that t
is required to have OwnedTape, which means it currently owns the crate::gradients::GradientTape.