code: def model_creator(config):
      model = simple_model(config)
      model.compile(**compile_args(config))
      return model
  
imports: import os
  import pytest
  import shutil
  import tempfile
  from unittest import TestCase
  import numpy
  import tensorflow
  from bigdl.orca import init_orca_context, stop_orca_context
  from bigdl.orca.learn.tf2 import Estimator
  from bigdl.orca import OrcaContext
label_desc: Use image node_id 4 for calling a global function with example usage: model_creator(config) and returns: model