理解scatter操作: tensor_A.scatter_(dim, index, tensor_B) : tensor_B的每个元素,都按照index 被scatter(可以理解为填充)到目标tensor_A中。
確定! 回上一頁