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.
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.