code: def _process_predict_result(predict):
      # 'predict' is a list of JTensors or None
      # convert to a list of ndarray
      if predict is not None:
          return [res.to_ndarray() for res in predict]
      else:
          return None
  
imports: import six
  from bigdl.dllib.utils.common import JavaValue
  from bigdl.dllib.utils.file_utils import callZooFunc
  from pyspark import RDD
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 1 for calling a global function with example usage: _process_predict_result(predict) and returns: unknown, None