from local
This commit is contained in:
parent
3bec4f2d30
commit
18b93e745e
Binary file not shown.
@ -206,7 +206,6 @@ class Transducer(nn.Module):
|
|||||||
):
|
):
|
||||||
from beam_search import greedy_search_batch, greedy_search_batch_target_input
|
from beam_search import greedy_search_batch, greedy_search_batch_target_input
|
||||||
|
|
||||||
assert x.size(0) == x_lens.size(0) == y.dim0
|
|
||||||
encoder_out, x_lens = self.encoder(x, x_lens)
|
encoder_out, x_lens = self.encoder(x, x_lens)
|
||||||
|
|
||||||
hyps = []
|
hyps = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user