numpy.reshape 函数可以在不改变数据的条件下修改形状,格式如下: ... import numpy as np x = np.arange(9).reshape(1,3,3) print ('数组x:') print (x) print ...
確定! 回上一頁