Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pomonam committed Mar 19, 2024
1 parent de238bc commit f208dd2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ def __init__(self, config: ConformerConfig):
else:
feed_forward_residual_dropout_rate = (
config.feed_forward_residual_dropout_rate)
self.dropout2 = nn.Dropout(p=feed_forward_residual_dropout_rate,
inplace=True)

self.dropout2 = nn.Dropout(
p=feed_forward_residual_dropout_rate, inplace=True)
def forward(self, inputs, padding_mask):
inputs = self.ln(inputs)
inputs = self.linear1(inputs)
Expand Down

0 comments on commit f208dd2

Please sign in to comment.