摘要: 一、生成array\list\tensor 1.生成array import numpy as np a1 = array([[1,2],[3,4]]) 2. 生成list a2 = list(range(16)) 3.生成tensor import torch a3 = torch.tensor( 阅读全文