+11

Error: AttributeError: module 'tensorflow' has no attribute 'placeholder'

Error: AttributeError: module 'tensorflow' has no attribute 'placeholder' What do I do?

7/19/2019 2:18:47 PM

Zhenis Otarbay

3 Answers

New Answer

+3

TensorFlow Variables And Placeholders Tutorial With Example May be this helps: https://appdividend.com/2019/02/06/tensorflow-variables-and-placeholders-tutorial-with-example/

+12

Simon Yu it was working on my desktop, so i am thinking that i have not properly installed tensorflow

+1

did you try tf.placeholder () and set input as tf.float32 ?