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

报错:AttributeError: module ‘tensorflow’ has no attribute ‘select’nn原因:由于版本的问题,一些SPI的名称做了改变nn修改:将tf.select()改为tf.where()nn参考博客:nnhttps://blog.csdn.net/accumulate_zhang/article/details/78236750…