问题描述 module 'tensorflow' has no attribute 'optimizers' 解决方法 将tensorflow.optimizers.xx改为tensorflow.keras.optimizers.xxx