code: def sigmoid_cross_entropy(output, target, name=None):
      """Sigmoid cross-entropy operation, see ``tf.nn.sigmoid_cross_entropy_with_logits``.
  
      Parameters
      ----------
      output : Tensor
          A batch of distribution with shape: [batch_size, num of classes].
      target : Tensor
          A batch of index with shape: [batch_size, ].
      name : string
          Name of this loss.
  
      """
      return tf.reduce_mean(
          tf.nn.sigmoid_cross_entropy_with_logits(
              labels=target, logits=output
          ),
          name=name,
      )
  
imports: import numbers
  import tensorflow
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops, math_ops, nn_ops, standard_ops
  from tensorlayer import logging
label_desc: Use image node_id 2 for calling a global function with example usage: sigmoid_cross_entropy(output, target, name) and returns: tf