I am having issue with Session module.
import tensorflow as tf
n1 = tf.constant(3.0)
n2 = tf.constant(4.0)
print(n1)
sess = tf.Session()
print(sess.run([n1,n2]))
below is the console output I have received.
runfile('C:/Users/Rushabh Shah/.spyder-py3/temp.py', wdir='C:/Users/Rushabh Shah/.spyder-py3')
tf.Tensor(3.0, shape=(), dtype=float32)
Traceback (most recent call last):
File "C:\Users\Rushabh Shah\.spyder-py3\temp.py", line 11, in <module>
sess = tf.Session()
AttributeError: module 'tensorflow' has no attribute 'Session'