You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to reproduce some of the experiments of the new paper on shattered gradients and needed to use the CReLU activation which was unavailable in PyTorch. Unfortunately, it doesn't seem to be a trivial extension of ReLU to code. (Should?) Could we add this functionality to PyTorch?
Ok, so it can be easily be implemented using existing autograd operations. But how exactly (while avoiding the draw-backs that @keskarnitish mentioned)? LuaTorch has such a layer type, so perhaps it makes sense to add it to pytorch as well?
Well, to me it is. Alternatively, a documented implementation using Autograd that
avoids the drawbacks that keskarnitish mentioned would also do the trick.
I agree with @progirep and think this issue needs to be reopened and implemented ..... PyTorch is nothing less than Tensorflow or others in implementing such functions.
Activity
apaszke commentedon Apr 24, 2017
As you found, it's unnecessary to make this a function, because it can be easily implemented using existing autograd ops.
keskarnitish commentedon Apr 24, 2017
Sounds good to me! We can close this issue if you'd like.
progirep commentedon Oct 12, 2018
Ok, so it can be easily be implemented using existing autograd operations. But how exactly (while avoiding the draw-backs that @keskarnitish mentioned)? LuaTorch has such a layer type, so perhaps it makes sense to add it to pytorch as well?
progirep commentedon Jan 4, 2019
MohamedAliRashad commentedon Feb 7, 2019
I agree with @progirep and think this issue needs to be reopened and implemented ..... PyTorch is nothing less than Tensorflow or others in implementing such functions.
Update cudnn-frontend submodule (pytorch#1327)
mueller91 commentedon Jan 11, 2023
also would appreciate a crelu
Update third_party/kineto submodule to 185fe9c