Re:Matrix Calculus for Deep Learning
by jules on Tuesday January 30, 2018 @06:24PM
(#16270049)
The notation is very simple: you write tensor expressions with indices, and repeated indices are implicitly summed over. For example, matrix multiply:
Differentiating this with respect to variable l:
By writing out indices you can just use the rules for scalar derivatives.
[ Parent
| on HN ]
Oh in that case I'm just confused - that's what I know as Einstein notation. Modern physics papers seemed to use much more complex notation, but I probably just misunderstood.
If we're talking about Einstein notation, then I'm a fan - `np.einsum()` is often a great way to create fast tensor computations with minimal code.