torch、numpy 矩阵维度相关操作(flatten、unsqueeze、np.expand_dims、numpy.squeeze()、squeeze等)

1. torch.flatten、np.flatten 详解

2. torch.unsqueeze、np.expand_dims详解

3. [torch.squeeze、 numpy.squeeze()详解]

4. torch.reshape、np.reshape详解

5. torch.view() 详解

6. torch.transpose、np.transpose、torch.permute详解

7. torch.transpose、np.transpose、torch.permute详解

你可能感兴趣的:(人工智能,numpy,python,人工智能)