chickadee » nanograd » backward!

backward! tensorprocedure

Computes gradients by reverse-mode automatic differentiation. Sorts the computation graph topologically and runs each backward procedure in order. Signals an error if the graph has a cycle.