import numpy as np
miu = 0
sigma = 0.5
dim = 5
out = np.random.normal(miu, sigma, size=dim)
print("out:", out)
out: [-0.06263695 0.46437571 0.17085151 0.26784782 0.45943187]
进程已结束,退出代码为 0
out: [ 0.04768534 0.80916408 -5.34711771 2.22280291 -4.36583231]
进程已结束,退出代码为 0
out: [-0.16080237 1.62131233 -1.90214067 4.87210187 0.15069298]
进程已结束,退出代码为 0
out: [ 1.72550959 3.26816967 1.4814354 1.28939754 -4.00395439]
进程已结束,退出代码为 0
out: [-0.66047124 -2.61415217 0.82364252 1.97422162 1.64402356]
进程已结束,退出代码为 0