code: def get_val_data_creator():
      def val_data_creator(config):
          return get_dataset(size=400, config=config)
  
      return val_data_creator
  
file_path: BigDL/python/orca/test/bigdl/orca/automl/model/test_base_keras_model.py
imports: from unittest import TestCase
  from bigdl.orca.automl.model.base_keras_model import KerasBaseModel, KerasModelBuilder
  import numpy
  import tensorflow
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: get_val_data_creator() and returns: val_data_creator, get_dataset