Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But then to find some mistake you would have to corroborate n * 2 pieces of information, which is quite a bit more, before getting into the issue of whether or not the sequence of operations actually makes sense on top of all that.


So let’s say there’s a bug, and an einsum statement is a suspect. Assume I’m not familiar with einsum notation, but I know dot products and reshapes. How do I debug it?


Guess you can’t, then. Personally I’m a bigger fan of einops since the variable/index names can be a lot more self-documenting.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: