# results[outname_to_pos['batchsize_x_seqlen']] = val
results[outname_to_pos['batchsize_x_seqlen']]=val
# else:
else:
# if not has_show_warn:
ifnothas_show_warn:
# print('WARNING: token_ids not found in current batch, failed to yield batch_size, seqlen and batchsize_x_seqlen. (This message would be shown only once.)')
print('WARNING: token_ids not found in current batch, failed to yield batch_size, seqlen and batchsize_x_seqlen. (This message would be shown only once.)')