tensorflow API:tf.train.Saver 与 NotFoundError: "x_x" not found in checkpoint
保存import所需的模块,然后建立神经网络当中的W和b,并初始化变量.importtensorflowastfimportnumpyasnp##Savetofile#remembertodefinethesamedtypeandshapewhenrestoreW=tf.Variable([[1,2,3],[3,4,5]],dtype=tf.float32,name='weights')b=tf.