Resolved: tf.placeholder (TensorFlow)
I typed this:
inputs = tf.placeholder(tf.float32,[None,input_size])
targets = tf.placeholder(tf.float32,[None,output_size])
And it gave me:
module 'tensorflow' has no attribute 'placeholder'
2 answers ( 0 marked as helpful)
Hi Rajasingh,
Thanks for reaching out!
Which version of TF are you running? You can check that by writing:
print(tf.__version__)Best, The 365 Team
My version is 2.2.0, so is something wrong with the version. Please help.