logoalt Hacker News

rsfernyesterday at 3:03 AM0 repliesview on HN

For numerical code I like einops.reduce more than numpy/pytorch sum reductions because you can reduce over named dimensions. It’s much more readable than having to reason through axis indexing again every time you come back to the code