在Pytorch和Numpy中都可以由一维列表生成矩阵,但是存在差别# 注意:列表生成的 ... 是矩阵相乘 >>> a.mul_(d) Traceback (most recent call last): File "<stdin>", ...
確定! 回上一頁