pub fn backward(t: Tensor0D<OwnedTape>) -> Gradients
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.