mattloper/chumpy

Forward or Backward mode autodiff?

Opened this issue · 1 comments

Is chumpy using Forward mode or Reverse mode automatic differentiation? A quick browse seems like forward mode...

The function computing the automatic differentiation has implementation of both forward and backward mode here.

The documentation (sec 2.1) says "Chumpy is primarily a forward-mode, Jacobian producing autodifferentiation framework. Reverse-mode is partially supported, but much slower than it should be because some basic functions need implementation."