Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kuacakuaca committed Jul 4, 2024
1 parent 56a1d48 commit 69f733c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_conformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_output_shape(batch, time, features, norm=None, kernel_size=31, dropout=0
def test_ConformerPositionwiseFeedForwardV1():
def get_output_shape(input_shape, input_dim, hidden_dim, dropout, activation):
x = torch.randn(input_shape)
cfg = ConformerPositionwiseFeedForwardV2Config(
cfg = ConformerPositionwiseFeedForwardV1Config(
input_dim=input_dim, hidden_dim=hidden_dim, dropout=dropout, activation=activation
)
conf_ffn_part = ConformerPositionwiseFeedForwardV1(cfg)
Expand Down

0 comments on commit 69f733c

Please sign in to comment.