Input: code compute a function Output: code compute the derivative of the function
AD writes functions as sequence of compositions block , and then computes the derivative of the function by applying the chain rule.
see also: Autograd and Jax Input: code compute a function Output: code compute the derivative of the function AD writes functions as sequence of compositions block f(x) = f_n \circ ...
Input: code compute a function Output: code compute the derivative of the function
AD writes functions as sequence of compositions block , and then computes the derivative of the function by applying the chain rule.