在本例中,它是 numpy.ndarray; shape(): 数组的形状。行x列 ... 导入pytorch 库 import torch # pytorch 数组 tensor = torch.
確定! 回上一頁