code: def mold_objects(learners, transformers):
      """Utility for enforcing compatible setup"""
      # TODO: remove
      out = []
      for objects in [learners, transformers]:
          if objects:
              if not isinstance(objects, list):
                  objects = [objects]
          out.append(objects)
      return out
  
file_path: mlens/mlens/parallel/_base_functions.py
imports: from __future__ import division
  import os
  import warnings
  from scipy.sparse import issparse
  import numpy
  from ..utils import pickle_load, pickle_save, load
  from ..utils.exceptions import MetricWarning, ParameterChangeWarning
label_desc: Use image node_id 5 for calling a global function with example usage: mold_objects(learners, transformers) and returns: out