Mar-16-2018, 09:03 AM
Guys please help me out..
I am getting a error....
HERE'S MY CODE.
I am getting a error....
HERE'S MY CODE.
import tensorflow as tf node1 = tf.constant(3.0) node2 = tf.constant(4.0) print(node1)HERE'S THE ERROR
Error:Traceback (most recent call last):
File "/Users/admin/Documents/tensorflow.py", line 1, in <module>
import tensorflow as tf
File "/Users/admin/Documents/tensorflow.py", line 2, in <module>
node1 = tf.constant(3.0)
AttributeError: 'module' object has no attribute 'constant'
I am using OSX and python 3.6...