Tensor(2, 3) torch.add(x, y, out=result) print 'torch.add(x, y, result): ', result print # 语法4:in-place计算,类似'+='运算,此时直接赋值 ...
確定! 回上一頁