Machine Learning, Optimization, Differentiation, Neural Networks, Control.
x1 and x2 are the optimization variables The goal here is to compute the partial derivatives of the above function with respect to x1 and x2. Assume that we compute the total derivative of the function f with respect to a variable say t. Then, by the rules of calculus (chain rule) the total