重复列表以创建指定形状的numpy数组我有一个长度为10的值列表: p = [1, 2, ..., 10] 此列表对应于4D数组的第二维度(称为T): Tshp = np.shape(T) print(Tshp) (20, 10, 30 ...2024-06-16 已阅读: n次