▲ | stephencanon 5 days ago | |
I don't think most people think to do either direction by hand; it's all just matrix multiplication, you can multiply them in whatever order makes it easier. | ||
▲ | eigenspace 5 days ago | parent [-] | |
Im just talking about the general algorithm to write down the derivative of `f(g(h(x)))` using the chain rule. For vector valued functions, the naive way you would learn in a vector calculus class corresponds to forward mode AD. |