标签:squeeze 用法 np shape print x1 numpy ... 3, 1) x1 = np.squeeze(x) # 从数组的形状中删除单维条目,即把shape中为1的维度去掉 print(x1) ...
確定! 回上一頁