2 ms·
> And if Math.tanh is on your hot path in JavaScript then you're doing something quite bizarre... Machine learning? (on a machine with no WebGL/WebGPU, I guess
by odo1242 3mo ago
> And if Math.tanh is on your hot path in JavaScript then you're doing something quite bizarre...
Machine learning? (on a machine with no WebGL/WebGPU, I guess)
- anematode 3mo agoSure, but you'd use a low-precision approximation for that; you don't need full double precision