News for hackers. Stuff that matters.
Re:Tensor Considered Harmful Part 2 by mcabbott on Monday January 14, 2019 @06:43AM (#18902304)
Some operations are quite tensor-ish. For instance the re-shaping which einops writes like this

    Rearrange('b c h w -> b (c h w)')
is literally a tensor product of the vector spaces indexed by c,h,w. The same space that np.kron maps into (possibly modulo the order of indices) rather than np.hstack (of row vectors) which maps to the direct sum, ⊕ not ⊗.

There are no comments on this comment yet.