coja to Programmer [email protected] • 1 year agoFind yourselflemmy.mlimagemessage-square99fedilinkarrow-up1620arrow-down128
arrow-up1592arrow-down1imageFind yourselflemmy.mlcoja to Programmer [email protected] • 1 year agomessage-square99fedilink
minus-squareAlmightySnoo 🐢🇮🇱🇺🇦link4•edit-21 year agoWhat about the smooth approximation nerd? import math def max12(x, y, alpha=10): u = math.exp(alpha * x) v = math.exp(alpha * y) return (u * x + v * y) / (u + v) (obviously beware of overflows)
What about the smooth approximation nerd?
import math def max12(x, y, alpha=10): u = math.exp(alpha * x) v = math.exp(alpha * y) return (u * x + v * y) / (u + v)
(obviously beware of overflows)
That’s the deep learning engineer