stock-trading-ml icon indicating copy to clipboard operation
stock-trading-ml copied to clipboard

Problem with seed of latest version of tensorflow

Open zviwex opened this issue 4 years ago • 0 comments

when seeding the random, you need to seed like that:

import tensorflow as tf
tf.random.set_seed()

Reference: https://stackoverflow.com/questions/58638701/importerror-cannot-import-name-set-random-seed-from-tensorflow-c-users-po

zviwex avatar Jun 21 '20 08:06 zviwex