2025-05-09 12:07 UTC
Numpy's broadcast rules are weird as hell, and the scientific python ecosystem is basically stuck with them. If you are building one for another language don't use dim size of 1 for broadcasting but find a non-numeric way to dictate shape.
Replies (1)
-
@ccshan@woof.group 2025-05-09 13:55
@zx@chaos.social People will complain if I build one for another language that doesn't inherit Numpy broadcasting