3 ms·
This is neat. However I've rather use einsum and einops [0] to reshape stuff in practice. [0] https://github.com/arogozhnikov/einops https://github.com/arogozh
by hgoury 6y ago
This is neat. However I've rather use einsum and einops [0] to reshape stuff in practice.
[0] https://github.com/arogozhnikov/einops https://github.com/arogozhnikov/einops