TMB Documentation
v1.9.11
|
User interface to checkpointing using TMBad. More...
#include <checkpoint_macro.hpp>
User interface to checkpointing using TMBad.
This is the recommended way of constucting atomic functions without knowing the reverse mode derivatives.
Usage: Within objective_function
(or any other function) one can do
F(x)
only generates one new operatation on the ad stack.F
is owned by the operation stack and is automatically freed when no longer needed. Definition at line 267 of file checkpoint_macro.hpp.