tensorflow2.0用1.0的代碼

  import tensorflow.compat.v1 as tf tf.compat.v1.disable_eager_execution()或 import tensorflow.compat.v1 as tf tf.disable_v2_behavior() 替換import tensorflow as tf
相關文章
相關標籤/搜索