class_docstr: Generates prior towers for Phoenix.
class_docstr_tok: ["Generates","prior","towers","for","Phoenix","."]
code: def build_priors_nonadaptively(
      self, is_training, logits_dimension, trials, my_id, my_model_dir
  ):
      nonadaptive_spec = self._ensemble_spec.nonadaptive_search
      num_trials_to_consider = nonadaptive_spec.num_trials_to_consider
      assert num_trials_to_consider > 1
      best_trials = self._get_best_trials(
          trials,
          nonadaptive_spec.minimal_pool_size,
          num_trials_to_consider,
      )
  
      if not best_trials:
          architecture_utils.set_number_of_towers(
              self.generator_name(), 0
          )
          return []
  
      return self._nonadaptive_ensemble(
          logits_dimension=logits_dimension,
          relevant_trials=best_trials,
          is_training=is_training,
          num_trials_to_consider=nonadaptive_spec.num_trials_to_consider,
          width=nonadaptive_spec.width,
          my_model_dir=my_model_dir,
      )
  
file_path: model_search/model_search/generators/prior_generator.py
imports: import random
  from model_search.architecture import architecture_utils
  from model_search.generators import base_tower_generator
  from model_search.generators import trial_utils
  import tensorflow.compat.v2
label_desc: Use image node_id 6 for calling the PriorGenerator obj's underlying member method code with example usage: obj.build_priors_nonadaptively(is_training, logits_dimension, trials, my_id, my_model_dir) and returns: self, list