Skip to content

Commit

Permalink
Black fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roshansh-cmu committed Dec 5, 2022
1 parent 4e5ba90 commit 01dbafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espnet2/asr/espnet_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def encode(
encoder_out.size(),
speech.size(0),
)
if getattr(self.encoder,"selfattention_layer_type",None) != "lf_selfattn":
if getattr(self.encoder, "selfattention_layer_type", None) != "lf_selfattn":
assert encoder_out.size(-2) <= encoder_out_lens.max(), (
encoder_out.size(),
encoder_out_lens.max(),
Expand Down

0 comments on commit 01dbafa

Please sign in to comment.