https://zhuanlan.zhihu.com/p/42517760
from numpy.random import seed seed(1) from tensorflow import set_random_seed set_random_seed(2)