同时我们也可以使用下面的方法将pytorch tensor 转换为numpy ndarray # 如果pytorch tensor ... 可以通过下面两种方式得到tensor 的大小 print(pytorch_tensor1.shape) ...
確定! 回上一頁