tensorflow 2.1.0: has no attribute 'random_normal'
It was moved to tf.random.normal
(along with all the other tf.random_*
functions)
Tensorflow 2.0 comes with new aliases for random_normal. Using tf.random.normal
instead of tf.random_normal
should execute successfully.