from local

This commit is contained in:
dohe0342 2022-12-10 15:07:54 +09:00
parent 6c6442e08a
commit 3bec4f2d30
2 changed files with 0 additions and 2 deletions

View File

@ -207,9 +207,7 @@ class Transducer(nn.Module):
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)
assert torch.all(x_lens > 0)
hyps = []
#hyp_tokens = greedy_search_batch_target_input(self, encoder_out, x_lens, decoder_out)