numpy的squeeze函数使用方法
reshape函数:改变数组的维数(注意不是shape大小) >>> e= np.arange(10)>>> e array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])>>> e.reshape(1,1,10) a...
reshape函数:改变数组的维数(注意不是shape大小) >>> e= np.arange(10)>>> e array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])>>> e.reshape(1,1,10) a...