code: def model_creator(config):
      model = DIEN(
          feature_columns,
          behavior_feature_list,
          dnn_hidden_units=[4, 4, 4],
          dnn_dropout=0.4,
          gru_type="AUGRU",
          use_negsampling=False,
          device="cpu",
          seed=2,
          att_hidden_units=(64, 16),
          att_activation="relu",
          init_std=0.1,
      )
      return model
  
file_path: BigDL/python/friesian/example/dien/pytorch/dien_train.py
imports: from dienl import SparseFeat, VarLenSparseFeat, DIEN
  import torch.nn
  import torch.optim
  from bigdl.orca.learn.pytorch import Estimator
  from bigdl.orca import init_orca_context, stop_orca_context
  from bigdl.orca.learn.metrics import Accuracy, BinaryCrossEntropy
  from bigdl.friesian.feature import FeatureTable
  from pyspark.sql.window import Window
  from pyspark.sql.functions import desc, rank, col
  import argparse
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 1 for calling a global function with example usage: model_creator(config) and returns: model