I have used tensor-flow for ONE day, but there come some troubles, when I import tensor-flow, there would be AttributeError: 'module' object has no attribute 'variable'
I use Windows10, Python 3.5.3, Anaconda-3 4.4.0
here is my test code:
import tensorflow as tf my_var = tf.Variable(tf.linspace(10.0, 13.0, 4)) with tf.Session() as sess: print (sess.run(my_var))
I got this error: