import tensorflow as tf


        per_example_loss=tf.losses.sigmoid_cross_entropy(multi_class_labels=labels, logits=logits,reduction=Reduction.NONE)
        per_example_loss=tf.reduce_sum(per_example_loss,axis=-1)
        loss = tf.reduce_mean(per_example_loss,name='train_loss')
