TypeError

作者: _sunnyRain | 来源:发表于2018-04-11 19:27 被阅读0次

    错误:

    ---------------------------------------------------------------------------TypeError Traceback (most recent call last) in () 1 sess = tf.Session#with tf.Session as sess:----> 2 sess.run(init) 3 for _ in range(3): 4 sess.run(update) 5 print(sess.run(state))TypeError: run() missing 1 required positional argument: 'fetches'

    解决:

    Session后面少了个()         ......


    相关文章

      网友评论

          本文标题:TypeError

          本文链接:https://www.haomeiwen.com/subject/rqizhftx.html