has no attribute 'xw_plus_b'

has no attribute 'xw_plus_b'

解决:换成

tf.compat.v1.nn.xw_plus_b
发布了2672 篇原创文章 · 获赞 973 · 访问量 527万+

猜你喜欢

转载自blog.csdn.net/jacke121/article/details/104457001