Re:Neural networks in JavaScript – free 19-part course
by amelius on Sunday December 23, 2018 @03:03PM
(#18747997)
Is there a Numpy equivalent for JS yet? How easy is it to use (considering that JS doesn't have operator overloading)?
[ Parent
| on HN ]
Re:Neural networks in JavaScript – free 19-part course
by jimmy-dean on Sunday December 23, 2018 @08:27PM
(#18749645)
Not effectively. From what I've read, JS lacks SIMD support which makes Numpy-like vectorizations unachievable. Would be nice though...
Re:Neural networks in JavaScript – free 19-part course
by amelius on Monday December 24, 2018 @06:04AM
(#18751586)
I think Numpy is written in C, so in principle they could use the same approach for JS (and invoke SIMD functions from C). The problem, however, is that there is no operator overloading in JS. So you can't write things like a[:,:,3] *= 2.