Add support for dynamic autodiff

Change-Id: I17d573696172ab691a9653db99a620e4bc1bd0d0
3 files changed