import tensorflow as tf

改成

import tensorflow.compat.v1 as tf

tf.disable_v2_behavior()

 

相关文章:

  • 2019-01-18
  • 2021-04-29
  • 2022-12-23
  • 2021-12-24
  • 2021-11-18
  • 2021-08-10
  • 2022-12-23
猜你喜欢
  • 2021-12-24
  • 2022-12-23
  • 2021-05-11
  • 2021-09-27
  • 2021-07-13
  • 2021-08-24
  • 2022-12-23
相关资源
相似解决方案