📌  相关文章
📜  AttributeError: 模块 'tensorflow._api.v2.train' 没有属性 'AdamOptiimizer' - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:16.745000             🧑  作者: Mango

代码示例1
tf.train.AdamOptimizer() => tf.optimizers.Adam()

From https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/optimizers

Answer source-> https://stackoverflow.com/questions/55318273/tensorflow-api-v2-train-has-no-attribute-adamoptimizer