numpy.expand_dims¶. numpy. expand_dims (a, axis)[source]¶. 展开数组的形状。 插入新轴,对应于数组形状中的给定位置。 参数:. a:array_like. 输入数组。
確定! 回上一頁