2 ms·
So what's the explanation for the 20x difference? Is the JS implementation untuned? edit: seems the JS is written in the straightforward, idiomatic JS way with
by fulafel 9y ago
So what's the explanation for the 20x difference? Is the JS implementation untuned?
edit: seems the JS is written in the straightforward, idiomatic JS way without employing speed hacks or typed arrays. So that I guess explains some of it.
- __s 9y agoYou tell me, https://github.com/DanRuta/jsNet/tree/master/dev/js https://github.com/DanRuta/jsNet/tree/master/dev/js Ran in Chrome profiler, spent most time in these forward/backward functions https://github.com/DanRuta/jsNet/blob/master/dev/js/ConvLayer.js#L95 https://github.com/DanRuta/jsNet/blob/master/dev/js/ConvLaye...