与TensorFlow类似,PyTorch中的基本数据类型也称为张量(Tensor),张量就是多维数组, ... 在本例中,它是 numpy.ndarray; shape(): 数组的形状。行x列.
確定! 回上一頁