🔬This is a nightly-only experimental API. (
autodiff
)Expand description
Unstable module containing the unstable autodiff
macro.
Attribute Macros§
- autodiff_
forward Experimental - This macro uses forward-mode automatic differentiation to generate a new function. It may only be applied to a function. The new function will compute the derivative of the function to which the macro was applied.
- autodiff_
reverse Experimental - This macro uses reverse-mode automatic differentiation to generate a new function. It may only be applied to a function. The new function will compute the derivative of the function to which the macro was applied.