News for hackers. Stuff that matters.
Re:Deep Learning in JavaScript by 4hg4ufxhy on Friday March 29, 2024 @09:26AM (#39863843)
Why can you make assumptions about operation overloads but not functions?
Re:Deep Learning in JavaScript by foolswisdom on Friday March 29, 2024 @10:03AM (#39864237)
Because there is nothing to make assumptions about. In the example code, both multiplication and division have a scalar on one side, there's no possible ambiguity of behavior. But there is the eternal question of terminology: do you specify dimensions by "axis" or "dim" and does your API actually use both terms in different places?

(that's what I think the GP meant, anyway).