model_inputs inputs = tf.placeholder(tf.int32, [None, None], name = 'input') AttributeError: module 'tensorflow' has no attribute 'placeholder' code example
Example: AttributeError: module 'tensorflow' has no attribute 'placeholder'
#replace import tensorflow as tf by following
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()