numpy创建空数组 离殇花开 2021-10-26 322 阅读1分钟 目的:构建不含元素的numpy.array数组(后面可以np.concatenate拼接)。 代码如下: others=np.zeros(shape=(0,32,32,3)) 32x32x3为基础形状。第一维为0。