tensorflow has no attribute Dimension site:stackoverflow.com code example
Example: AttributeError: module 'tensorflow' has no attribute 'Session' site:stackoverflow.com
sess = tf.compat.v1.Session()
print(sess.run(hello))
sess = tf.compat.v1.Session()
print(sess.run(hello))