masked_fill () , except the pytorch method fills in things with a mask value of 1, where we want the opposite. You can do this in your own code with tensor.
確定! 回上一頁