Torch里面所有带"_"的操作,都是in-place的。.mul()和.mul_()x.mul(y) ... pytorch exp_(), add_()等运算 ... PyTorch 矩阵乘法总结和运算符重载.
確定! 回上一頁