Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Einsum Is All You Need – Einstein Summation in Deep Learning (2018). Parent comment
\sum_a(A_ia x_a) + v_i + \sum_a(x_a y_a) ( w_i + \sum_b(B_ib z_b) )
My example is actually still easier without indices. (Although you lose some information, like the fact that x & y are vectors in the indexed by a,b.) Here it's clear that Ax and x⋅y each involve a sum, which never includes v:
Ax + v + (x⋅y)(w + Bz)
There are no comments on this comment yet.
\sum_a(A_ia x_a) + v_i + \sum_a(x_a y_a) ( w_i + \sum_b(B_ib z_b) )
My example is actually still easier without indices. (Although you lose some information, like the fact that x & y are vectors in the indexed by a,b.) Here it's clear that Ax and x⋅y each involve a sum, which never includes v:
Ax + v + (x⋅y)(w + Bz)