code: def model_creator(config):
      model = ncf_model(
          user_num=config["user_num"],
          item_num=config["item_num"],
          num_layers=config["num_layers"],
          factor_num=config["factor_num"],
          dropout=config["dropout"],
          lr=config["lr"],
          sparse_feats_input_dims=config["sparse_feats_input_dims"],
          sparse_feats_embed_dims=config["sparse_feats_embed_dims"],
          num_dense_feats=config["num_dense_feats"],
      )
      return model
  
imports: import math
  import tensorflow
  from process_xshards import prepare_data
  from tf_model import ncf_model
  from utils import *
  from bigdl.orca.learn.tf2 import Estimator
label_desc: Use image node_id 1 for calling a global function with example usage: model_creator(config) and returns: model