mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
change for streaming_beam_search.py
This commit is contained in:
parent
4bf839227c
commit
a5a7514ef0
@ -152,8 +152,6 @@ def modified_beam_search(
|
||||
index=hyps_shape.row_ids(1).to(torch.int64),
|
||||
) # (num_hyps, encoder_out_dim)
|
||||
|
||||
print(decoder_out.shape)
|
||||
print(current_encoder_out.shape)
|
||||
logits = model.joiner(
|
||||
current_encoder_out,
|
||||
decoder_out.unsqueeze(1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user