Random seed 在之后的程序运行过程中一直有效 一般可能会认为 import numpy as np np.random.seed(5) print(np.random.random()) np.random.seed(5) print(np.random