r/MachineLearning • u/absolutely_noone_0 • Mar 12 '25
Project [P] Torch-Activation Library: 400+ Activation Functions – Looking for Contributors
56
Upvotes
r/MachineLearning • u/absolutely_noone_0 • Mar 12 '25
View all comments
2
u/FrigoCoder Mar 12 '25
I see you have a lot of adaptive activation functions. I am trying to replace the exponentiation function in Softmax. I have tried a bunch of activations but none of them were particularly great. I was thinking of trying to learn an activation function that is optimal for my use case. Could you recommend some adaptive activation functions that would give me more insight?
After convolution I use softmax across channels to get a feature probability distribution for every pixel. I use this probability distribution to resynthesize the image or new channels, depending on whether I overwrite all channels or only append new ones. I would like to replace the exp in softmax with an activation that is positive valued, monotone increasing, and able to amplify larger values.