AttributeError: 'mymodel' object has no attribute 'x'

后端 未结 0 1707
南笙
南笙 2020-11-28 21:07

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题