Advertisement
here2share

# leaky_relu.py

Sep 7th, 2023
805
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. # leaky_relu.py
  2.  
  3. def leaky_relu(x, alpha=0.01):
  4.     return max(alpha * x, x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement