from local

This commit is contained in:
dohe0342 2023-02-25 16:06:58 +09:00
parent 70d13296c1
commit 9bbc383309
2 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ def decode_one_batch(
return {key: hyps}
if params.method == "greedy-search":
#memory, memory_key_padding_mask
unsorted_token_ids = graph_compiler.texts_to_ids(supervisions["text"])
att_loss = model.decoder_forward(
memory,
momory_key_padding_mask,