python增加矩阵维度的实例讲解 numpy.expand_dims(a,axis)Examples>>>x=np.array([1,2])>>>x.shape(2,)>>>y=np.expand_dims(x,axis 矩阵增加维度