from local

This commit is contained in:
dohe0342 2023-02-02 18:53:28 +09:00
parent aa5b891b08
commit 2b0fe8696a
2 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ def decode_one_batch(
batch_size = nnet_output.size(0) batch_size = nnet_output.size(0)
for i in range(batch_size): for i in range(batch_size):
topk_log_probs, topk_indexes = nnet_output[i].topk(1) topk_log_probs, topk_indexes = nnet_output[i].topk(1)
print(topk_indexes.size()) print(topk_indexes.squeeze())
exit() exit()