Skip to content

Commit

Permalink
Update conformer.py
Browse files Browse the repository at this point in the history
Swich -? Swish
  • Loading branch information
snkii authored Jan 6, 2025
1 parent 900fdf0 commit 489a015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/librispeech/ASR/conformer_ctc/conformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ class Swish(torch.nn.Module):
"""Construct an Swish object."""

def forward(self, x: Tensor) -> Tensor:
"""Return Swich activation function."""
"""Return Swish activation function."""
return x * torch.sigmoid(x)


Expand Down

0 comments on commit 489a015

Please sign in to comment.