Re:Deep Learning in JavaScript
by modeless on Thursday March 28, 2024 @09:29PM
(#39859582)
You should do it! If you actually had a solution for operator overloading you'd really stand out from the other various JS deep learning libraries. Save me from pip and conda please :)
[ Parent
| on HN ]
Re:Deep Learning in JavaScript
by eduardoleao052 on Thursday March 28, 2024 @11:48PM
(#39860493)
I can try implementing it in the future lol
It would surely be a quality of life improvement.
But with the current tools, I tried my best to make the syntax as similar as possible to PyTorch’s!
If you do want to add evaluation of mathematical expressions you should check out Math.js since they provide a parser among other utilities. Please make it optional though, it would be a nightmare to debug if everything was written in strings.
Re:Deep Learning in JavaScript
by eduardoleao052 on Saturday March 30, 2024 @08:30PM
(#39880131)
Thanks for the tip, will look into it!
Yes, I think it would always be better to leave a "vanilla" option available.