大约一个月前,我在 Google Colab 中成功运行了一个神经风格迁移笔记本教程。但是,本周我无法成功运行完全相同的笔记本,并显示以下错误消息:AttributeError: module 'tensorflow.contrib.eager' has no attribute 'Variable'。
我检查了 Google Colab 中的 Notebook 使用的是 TensorFlow 1.15,当我检查 API 文档时,变量方法存在:https ://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/急切/变量
此错误消息的原因是什么?