AttributeError: module 'tensorflow' has no attribute 'get_default_session' 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))