AttributeError: module ‘tensorflow’ has no attribute 'placeholder’
import tensorflow as tf
# weixin mitbaiyun
import numpy as np
import matplotlib.pyplot as plt
import tensorflow._api.v2.compat.v1 as tf
tf.disable_v2_behavior()
# weixin mitbaiyun
import numpy as np
import matplotlib.pyplot as plt