Useful or not, from you.
tensorflow AttributeError: module 'tensorflow' has no attribute 'set_random_seed'

tf2.0

tf.set_random_seed(self._seed)

AttributeError: module 'tensorflow' has no attribute 'set_random_seed'

That's a useful answer
Without any help

Moved to tf.random.set_seed() https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/random/set_seed