class_docstr: Generates prior towers for Phoenix.
class_docstr_tok: ["Generates","prior","towers","for","Phoenix","."]
code: def _get_best_trials(
      self, trials, minimal_pool_size, num_trials_to_consider
  ):
      relevant_trials = [
          trial for trial in trials if trial.id <= minimal_pool_size
      ]
  
      best_trials = self._metadata.get_best_k(
          trials=relevant_trials, k=num_trials_to_consider
      )
  
      return best_trials
  
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 3 for calling the PriorGenerator obj's underlying member method code with example usage: obj._get_best_trials(trials, minimal_pool_size, num_trials_to_consider) and returns: best_trials