Here is my code. it shows \'mymodel\' object has no attribute \'x\'
import tensorflow as tf class mymodel: def _init_(self): self.x = tf.Variab