AttributeError: 'module' object has no attribute 'select'

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011961856/article/details/79644368

使用tf.select函数出现错误,

AttributeError: ‘module’ object has no attribute ‘select’

这是因为当前版本tensorflow无tf.select函数,可以改为使用函数tf.where

猜你喜欢

转载自blog.csdn.net/u011961856/article/details/79644368