a = np.zeros([2, 3]) print(a.shape) # outputs: (2, 3) b = np.random.randn(*a.shape) print(b.shape) # outputs: (2, 3)