您当前的位置: 首页 >  tensorflow
  • 3浏览

    0关注

    2393博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

成功解决 AttributeError: module 'tensorflow' has no attribute 'sub'

一个处女座的程序猿 发布时间:2019-05-13 14:41:20 ,浏览量:3

成功解决 AttributeError: module 'tensorflow' has no attribute 'sub'

 

 

 

 

目录

解决问题

解决思路

解决方法

 

 

 

 

 

解决问题

AttributeError: module 'tensorflow' has no attribute 'sub'

 

 

 

 

 

 

解决思路

由于不同的TensorFlow版本之间某些函数的用法引起的错误

属性错误:模块“tensorflow”没有属性“sub”

 

 

 

 

 

解决方法

tf.sub

改为

tf.subtract

 

哈哈,大功告成!

 

 

 

 

关注
打赏
1664196048
查看更多评论
立即登录/注册

微信扫码登录

0.0975s