Open jxie-im opened 6 months ago
Hi @jxie-im ,
I can't test it now but does the following work?
seed = 24
os.environ['TF_DETERMINISTIC_OPS'] = 'true'
os.environ['PYTHONHASHSEED'] = f'{seed}'
np.random.seed(seed)
random.seed(seed)
tf.random.set_seed(seed)
I am wondering if anyone can help point to the places where we can set seed?
Thanks!