Unverified Commit df48ba36 authored by Vincent QB's avatar Vincent QB Committed by GitHub
Browse files

Fix small typo in transducer (#1162)

parent 463a8b2c
......@@ -148,8 +148,8 @@ def check_inputs(log_probs, labels, lengths, label_lengths):
check_dim(log_probs, 4, "log_probs")
check_dim(labels, 2, "labels")
check_dim(lengths, 1, "lenghts")
check_dim(label_lengths, 1, "label_lenghts")
check_dim(lengths, 1, "lengths")
check_dim(label_lengths, 1, "label_lengths")
max_T = torch.max(lengths)
max_U = torch.max(label_lengths)
T, U = log_probs.shape[1:3]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment