Mar-16-2018, 09:03 AM
Guys please help me out..
I am getting a error....
HERE'S MY CODE.
HERE'S THE ERROR
I am getting a error....
HERE'S MY CODE.
1 2 3 4 |
import tensorflow as tf node1 = tf.constant( 3.0 ) node2 = tf.constant( 4.0 ) print (node1) |
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...