Open Leterax opened 1 year ago
Warning: The old RNGs from TF 1.x such as tf.random.uniform and tf.random.normal are not yet deprecated but strongly discouraged.
source: https://www.tensorflow.org/guide/random_numbers
You should probably switch to the new api, however, this adds a bit of complexity because we have to handle seeds ourselves.
I saw tf.image.random_* image operations aren't used anywhere so I only replaced the tf.random.uniform calls. check out PR #3
tf.image.random_*
tf.random.uniform
source: https://www.tensorflow.org/guide/random_numbers
You should probably switch to the new api, however, this adds a bit of complexity because we have to handle seeds ourselves.