Skip to content

Commit

Permalink
Typo in variable name: input_lenghts --> input_lengths
Browse files Browse the repository at this point in the history
Discovered via: __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
  • Loading branch information
cclauss authored and engiecat committed May 5, 2018
1 parent fc54d66 commit 6a26ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_deepvoice3.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def test_incremental_forward():
max_input_len = np.max(input_lengths) + 10 # manuall padding
seqs = np.array([_pad(x, max_input_len) for x in seqs], dtype=np.int)
input_lengths = torch.LongTensor(input_lengths)
input_lengths = input_lengths.cuda() if use_cuda else input_lenghts
input_lengths = input_lengths.cuda() if use_cuda else input_lengths
else:
input_lengths = None

Expand Down

0 comments on commit 6a26ac4

Please sign in to comment.