import tensorflow as tf
改
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
最新推荐文章于 2024-05-09 17:00:34 发布
import tensorflow as tf
改
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()