... scores.masked_fill(mask_p==0, -1e9) # 对于scores,在mask==0的位置填充scores_decoder = scores.masked_fill(mask_decoder==0, ...
確定! 回上一頁