twensorflow 1.15 module 'tensorflow' has no attribute 'matmu1' code example
Example 1: AttributeError: module 'tensorflow' has no attribute 'placeholder'
#replace import tensorflow as tf by following
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
Example 2: module 'tensorflow' has no attribute 'reset_default_graph'
import tensorflow as tf
tf.compat.v1.reset_default_graph()