pytorchでは、x.masked_fill(mask、value)は、xの対応するマスク位置でTrueである要素を値で埋めます。

NoSuchKey

おすすめ

転載: blog.csdn.net/m0_46483236/article/details/124002671