📅  最后修改于: 2022-03-11 14:47:08.154000             🧑  作者: Mango
import numpy as np
dim = 3 # number of entries
shp = (dim, 1) # shape tuple
x = np.zeros(shp) # second argument 'dtype' is not used, default is 'float'
print(x)