AttributeError Traceback (most recent call last)
来源:2-4 测试案例helloWorld

慕用5536747
2018-06-28
AttributeError Traceback (most recent call last)
<ipython-input-3-973e4db27f3a> in <module>()
1 import tensorflow as tf
2 hello = tf.constant('hello tlf')
----> 3 sess = tf.session()
4 print(sess.run(hello))
AttributeError: module 'tensorflow' has no attribute 'session'
怎么解决????
写回答
1回答
-
Jones
2018-06-30
对比下tf的版本和课程中是否一样吗?
00
相似问题
AttributeError
回答 1