我是Tensorflow的新手 我正在Udacity上運行iPython筆記本上的深度學習作業。 linkTensorFlow的'模塊'對象沒有屬性'global_variables_initializer'
它有一個錯誤。
AttributeError Traceback (most recent call last)
`<ipython-input-18-3446420b5935>` in `<module>`()
2
3 with tf.Session(graph=graph) as session:
----> 4 tf.global_variables_initializer().run()
AttributeError: 'module' object has no attribute 'global_variables_initializer'
請幫忙!我怎樣才能解決這個問題?謝謝。