import tensorflow as tf

        loss=-tf.reduce_sum(labels*tf.log(predicts))
        return loss

    def optimer(self,loss,lr=0.001):
        train_step=tf.train.GradientDescentOptimizer(lr).minimize(loss)
        return train_step

path=r'C:\JC\test\train_model.ckpt'
