this post was submitted on 22 Oct 2023
592 points (95.7% liked)

Programmer Humor

32588 readers
1744 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AlmightySnoo 4 points 1 year ago* (last edited 1 year ago) (1 children)

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)

[–] [email protected] 5 points 1 year ago

That’s the deep learning engineer