mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
fix flak8 style
This commit is contained in:
parent
7a8875ebcb
commit
fb68c4f212
@ -120,11 +120,6 @@ class Transducer(nn.Module):
|
|||||||
"Please install a version >= 0.10.0"
|
"Please install a version >= 0.10.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
loss = k2.rnnt_loss(
|
loss = k2.rnnt_loss(logits, y_padded, blank_id, boundary)
|
||||||
logits,
|
|
||||||
y_padded,
|
|
||||||
blank_id,
|
|
||||||
boundary
|
|
||||||
)
|
|
||||||
|
|
||||||
return torch.sum(loss)
|
return torch.sum(loss)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user