Why does the following TensorFlow example generate a different result every time it is run? My understanding is that the seed should guarantee reproducibility here.
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
tf.set_random_seed(1234)
generate = tf.random_uniform(())
with tf.Session() as sess:
print(generate.eval())
A more complex problem led me to this example.