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