Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
mlxu995 committed Sep 1, 2023
1 parent 5074b61 commit 19e0c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wekws/model/fsmn.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def forward(
in_cache = [torch.zeros(0, 0, 0, 0, dtype=torch.float)
for _ in range(len(self.fsmn))]
else:
in_cache = [in_cache[:, :, :, i:i+1] for i in range(in_cache.size(-1))]
in_cache = [in_cache[:, :, :, i: i+1] for i in range(in_cache.size(-1))]
input = (input, in_cache)
x1 = self.in_linear1(input)
x2 = self.in_linear2(x1)
Expand Down

0 comments on commit 19e0c22

Please sign in to comment.