美文网首页
Tensorflow 错误集锦

Tensorflow 错误集锦

作者: JaiUnChat | 来源:发表于2017-09-06 23:30 被阅读16次

    1 ‘module’ object has no attribute ‘pack’

    1.0之后的版本弃用了pack,改为了stack。

    2 tf.cocat([fw,bw],2)报错:TypeError: Expected int32, got list containing Tensors of type ‘_Message’ instead.

    1.1版本 函数为:tf.concat(values, axis), 把老代码中的两个值互调位置即可。.

    相关文章

      网友评论

          本文标题:Tensorflow 错误集锦

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