在使用tensorflow并调用tf.placeholder()时报错:AttributeError: module ‘tensorflow’ has no attribute ‘placeholder’
当前使用的是tensorflow-2.0.0-cp36-cp36m-win_amd64.whl,对应2.0版本的tensorflow,该版本中貌似已经取消了placeholder()的调用,解决方法参考:AttributeError: module ‘tensorflow’ has no attribute 'placeholder’等问题的解决