code: def make_multi_label_loss_fn():
      """Returns multi label loss function."""
  
      def _loss_fn(labels, logits, weights=1.0):
          return tf.compat.v1.losses.sigmoid_cross_entropy(
              multi_class_labels=labels, logits=logits, weights=weights
          )
  
      return _loss_fn
  
imports: import tensorflow.compat.v2
label_desc: Use image node_id 5 for calling a global function with example usage: make_multi_label_loss_fn() and returns: _loss_fn, tf