python中错误“AttributeError: module ‘tensorflow’ has no attribute ‘select’”

报错:AttributeError: module ‘tensorflow’ has no attribute ‘select’

原因:由于版本的问题,一些SPI的名称做了改变

修改:将tf.select()改为tf.where()

参考博客:

https://blog.csdn.net/accumulate_zhang/article/details/78236750

转载自:https://blog.csdn.net/zzzzzzxy95/article/details/81196828

You may also like...