I think it would make sense to add more parameters to AutoEnzyme, like:
deferred = true / false to use autodiff_deferred instead of autodiff
chunksize to imitate the AutoForwardDiff API and allow selecting a chunk size for Jacobians and Hessians
@wsmoses @vchuravy what do you think?
Related: