查看TensorFlow版本变动的具体细节 TensorFlow 1.0 版本 API 变动汇总 自动将代码移植到新版本下 自动将代码移植到 1.0 版本: tf_upgrade.py --infile foo.py --outfile foo-upgraded.py