numpy.ndarray.squeeze#

方法

ndarray.squeeze(axis=None)#

a 中移除长度为一的轴。

请参阅 numpy.squeeze 以获取完整文档。

另请参阅

numpy.squeeze

等效函数