code: def _on_serialize_evals(evals_val):
      if evals_val is None:
          return None
      return [list(x) for x in evals_val]
  
imports: import itertools
  import logging
  import pickle
  from collections import OrderedDict, defaultdict
  import numpy
  from ....None import opcodes
  from ....core import OutputType
  from ....core.context import get_context
  from ....core.operand import MergeDictOperand
  from ....serialization.serializables import FieldTypes, DictField, KeyField, ListField
  from ....utils import ensure_own_data
  from .dmatrix import ToDMatrix, to_dmatrix
  from .start_tracker import StartTracker
label_desc: Use image node_id 1 for calling a global function with example usage: _on_serialize_evals(evals_val) and returns: unknown, None