Tensor :接收的是数据的shape. dimension:表示维度。如[2,2],dimension=2. size/shape:括号中有几个数字就是几维,表示形状. a.torch.randn(2,3)随机 ...
確定! 回上一頁