用import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
替换import tensorflow as tf