class_docstr: Generates candidates towers for Phoenix via search algorithms.
class_docstr_tok: ["Generates","candidates","towers","for","Phoenix","via","search","algorithms","."]
code: def _get_trial_from_id(self, trial_id, trials):
      for trial in trials:
          if trial.id == trial_id:
              return trial
      return None
  
imports: import functools
  from absl import logging
  from model_search import block_builder
  from model_search import search
  from model_search.architecture import architecture_utils
  from model_search.architecture import tower
  from model_search.generators import base_tower_generator
  from model_search.generators import trial_utils
  from model_search.proto import phoenix_spec_pb2
  from model_search.proto import transfer_learning_spec_pb2
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 3 for calling the SearchCandidateGenerator obj's underlying member method code with example usage: obj._get_trial_from_id(trial_id, trials) and returns: None, trial