We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b4cb8 commit d2472efCopy full SHA for d2472ef
geffnet/activations/activations.py
@@ -21,7 +21,6 @@ def mish(x, inplace: bool = False):
21
"""Mish: A Self Regularized Non-Monotonic Neural Activation Function - https://arxiv.org/abs/1908.08681
22
"""
23
return x.mul(F.softplus(x).tanh())
24
- #return x.mul_(inner) if inplace else x.mul(inner) # unexpected inplace issue with this
25
26
27
class Mish(nn.Module):
0 commit comments