Skip to content

Commit d2472ef

Browse files
committed
Remove dead code mentioned in issue. Fix #16
1 parent d0b4cb8 commit d2472ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

geffnet/activations/activations.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def mish(x, inplace: bool = False):
2121
"""Mish: A Self Regularized Non-Monotonic Neural Activation Function - https://arxiv.org/abs/1908.08681
2222
"""
2323
return x.mul(F.softplus(x).tanh())
24-
#return x.mul_(inner) if inplace else x.mul(inner) # unexpected inplace issue with this
2524

2625

2726
class Mish(nn.Module):

0 commit comments

Comments
 (0)