class_docstr: Wraps a loss function in the `Loss` class.
class_docstr_tok: ["Wraps","a","loss","function","in","the","`","Loss","`","class","."]
docstr: Run the loss function for multi-process training.
docstr_tok: ["Run","the","loss","function","for","multi-process","training","."]
code: def call(self, y_true, y_pred):
      """Run the loss function for multi-process training."""
      return self.fn(y_true, y_pred, **self._fn_kwargs)
  
imports: import cloudpickle
  import tensorflow
  import numpy
  from functools import wraps, partial
  from tempfile import TemporaryDirectory
  import os
  import json
  from bigdl.nano.utils.common import schedule_processors
  from bigdl.nano.tf.keras.distributed_utils import _find_free_port
  from tensorflow.keras.losses import Loss
  import warnings
  from bigdl.nano.utils.common import invalidInputError
label_desc: Use image node_id 2 for calling the Nano_Customized_Loss obj's underlying member method code with example usage: obj.call(y_true, y_pred) and returns: self