Skip to content

Commit 92badd4

Browse files
authored
Merge pull request #73 from cclauss/patch-1
Typo in variable name: input_lenghts --> input_lengths
2 parents 97959d5 + 2ba32c8 commit 92badd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_deepvoice3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def test_incremental_forward():
255255
max_input_len = np.max(input_lengths) + 10 # manuall padding
256256
seqs = np.array([_pad(x, max_input_len) for x in seqs], dtype=np.int)
257257
input_lengths = torch.LongTensor(input_lengths)
258-
input_lengths = input_lengths.cuda() if use_cuda else input_lenghts
258+
input_lengths = input_lengths.cuda() if use_cuda else input_lengths
259259
else:
260260
input_lengths = None
261261

0 commit comments

Comments
 (0)