code: def __init__(self, func, nproc):
      self.func = func
      self.nproc = nproc
  
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 1 to create a new _Nano_Customized_Training object from inherited base classes: object with example: obj = _Nano_Customized_Training(func, nproc)