import tensorflow as tf

        out=tf.matmul(l3, self.w4)+self.b4
        return out
    
    def softmax_loss(self,predicts,labels):
        predicts=tf.nn.softmax(predicts)
        labels=tf.one_hot(labels,classnum)
        loss=-tf.reduce_sum(labels*tf.log(predicts))
        return loss
