Closed marcoct closed 7 years ago
For the path planner example, anecdotally it does not seem to introduce any perceptible overhead.
For now, using separate Trace and DifferentiableTrace types. There is also an AbstractTrace. New users who are not using gradients can just write their models to accept Trace argument.
Currently every trace stores its log weight in a GenNum, and has a tape for AD. Check if this causes any performance issues and consider making a separate Differentiable if it does.