TensorflowMarch 30, 2022tip, 版本兼容v2兼容v1 API # import tensorflow.compat.v1 as tf tf.disable_v2_behavior()