Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # leaky_relu.py
- def leaky_relu(x, alpha=0.01):
- return max(alpha * x, x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement