code: def create_auto_model(name, search_space):
      name = name.lower()
      from bigdl.nano.utils.common import invalidInputError
  
      if name == "lstm":
          from .auto_lstm import AutoLSTM
  
          revised_search_space = search_space.copy()
          invalidInputError(
              revised_search_space["future_seq_len"] == 1,
              "future_seq_len should be set to 1 if you choose lstm model.",
          )
          del revised_search_space[
              "future_seq_len"
          ]  # future_seq_len should always be 1
          return AutoLSTM(**revised_search_space)
      if name == "tcn":
          from .auto_tcn import AutoTCN
  
          return AutoTCN(**search_space)
      if name == "seq2seq":
          from .auto_seq2seq import AutoSeq2Seq
  
          return AutoSeq2Seq(**search_space)
      return NotImplementedError(
          f"{AUTO_MODEL_SUPPORT_LIST} are supported for auto model,\
                                      but get {name}."
      )
  
imports: import bigdl.orca.automl.hp
label_desc: Use image node_id 1 for calling the AutoModelFactory obj's underlying member method code with example usage: obj.create_auto_model(name, search_space) and returns: NotImplementedError, AutoLSTM, AutoTCN, AutoSeq2Seq