开头使用这个即可 import tensorflow.compat.v1 as tf tf.disable_v2_behavior()import tensorflow.compat.v 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交