📜  numpy expand_dims - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:12.958000             🧑  作者: Mango

代码示例1
y = np.expand_dims(x, axis=(2, 0))
>>> y
array([[[1],
        [2]]])