code: def multi_label_soft_margin_loss(
      input, label, weight=None, reduction="mean", name=None
  ):
      reduction = _get_reduction_func(reduction)
      loss = -(
          label * ivy.log(ivy.sigmoid(input))
          + (1 - label) * ivy.log(1 - ivy.sigmoid(input))
      )
  
      if weight is not None:
          loss = ivy.multiply(weight, loss)
      loss = ivy.mean(loss, axis=-1)
      ret = reduction(loss).astype(input.dtype)
      return ret
  
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  import ivy.functional.frontends.paddle
  from ivy.utils.exceptions import handle_exceptions
  from ivy.functional.frontends.paddle.func_wrapper import inputs_to_ivy_arrays, to_ivy_arrays_and_back
label_desc: Use image node_id 13 for calling a global function with example usage: multi_label_soft_margin_loss(input, label, weight, reduction, name) and returns: ret