code: def get_model(model_name):
      r"""Automatically select model class based on model name
  
      Args:
          model_name (str): model name
  
      Returns:
          Recommender: model class
      """
      model_submodule = [
          "general_recommender",
          "context_aware_recommender",
          "sequential_recommender",
          "knowledge_aware_recommender",
          "exlib_recommender",
      ]
  
      model_file_name = model_name.lower()
      model_module = None
      for submodule in model_submodule:
          module_path = ".".join(
              ["recbole.model", submodule, model_file_name]
          )
          if importlib.util.find_spec(module_path, __name__):
              model_module = importlib.import_module(
                  module_path, __name__
              )
              break
  
      if model_module is None:
          raise ValueError(
              "`model_name` [{}] is not the name of an existing model.".format(
                  model_name
              )
          )
      model_class = getattr(model_module, model_name)
      return model_class
  
imports: import datetime
  import importlib
  import os
  import random
  import pandas
  import numpy
  import torch
  import torch.nn
  from torch.utils.tensorboard import SummaryWriter
  from texttable import Texttable
  from recbole.utils.enum_type import ModelType
label_desc: Use image node_id 3 for calling a global function with example usage: get_model(model_name) and returns: model_class