code: def import_towers_multiple_trials(
      phoenix_spec,
      is_training,
      logits_dimension,
      previous_model_dirs,
      force_freeze,
      allow_auxiliary_head,
      caller_generator,
      my_model_dir,
  ):
      """Imports search generators' model from many trials."""
      towers = []
      for i, prev_model_dir in enumerate(previous_model_dirs):
          tower_name = "search_generator_0"
          tower_ = tower.Tower.load(
              phoenix_spec=phoenix_spec,
              original_tower_name=tower_name,
              new_tower_name=caller_generator + "_{}".format(str(i)),
              model_directory=prev_model_dir,
              is_training=is_training,
              logits_dimension=logits_dimension,
              new_model_directory=my_model_dir,
              force_freeze=force_freeze,
              allow_auxiliary_head=allow_auxiliary_head,
          )
          towers.append(tower_)
  
      architecture_utils.set_number_of_towers(
          generator_name=caller_generator,
          number_of_towers=len(previous_model_dirs),
      )
      if my_model_dir:
          tf.io.gfile.makedirs(my_model_dir)
          with tf.io.gfile.GFile(
              os.path.join(
                  my_model_dir, _PREVIOUS_DEPENDENCIES_FILENAME
              ),
              "w+",
          ) as f:
              f.write("\n".join(previous_model_dirs))
      return towers
  
imports: import copy
  import enum
  import os
  from model_search import hparam
  from model_search.architecture import architecture_utils
  from model_search.architecture import tower
  from model_search.generators import base_tower_generator
  from model_search.metadata import trial
  from model_search.proto import distillation_spec_pb2
  from model_search.proto import ensembling_spec_pb2
  from model_search.proto import phoenix_spec_pb2
  import tensorflow.compat.v2
  from google.protobuf import text_format
label_desc: Use image node_id 13 for calling a global function with example usage: import_towers_multiple_trials(phoenix_spec, is_training, logits_dimension, previous_model_dirs, force_freeze, allow_auxiliary_head, caller_generator, my_model_dir) and returns: towers