class_docstr: An In process Phoenix controller.
  
  This controller assumes search, ensembling, distillation and replay all run
  in the same binary.
  
  It will allocate trials for the various functionalities based on trial id.
class_docstr_tok: ["An","In","process","Phoenix","controller",".","This","controller","assumes","search",",","ensembling",",","distillation","and","replay","all","run","in","the","same","binary",".","It","will","allocate","trials","for","the","various","functionalities","based","on","trial","id","."]
code: def __init__(self, phoenix_spec, metadata):
      self._phoenix_spec = phoenix_spec
      self._search_candidate_generator = SearchCandidateGenerator(
          phoenix_spec=phoenix_spec, metadata=metadata
      )
      self._prior_candidate_generator = PriorGenerator(
          phoenix_spec=phoenix_spec, metadata=metadata
      )
      self._replay_generator = ReplayGenerator(
          phoenix_spec=phoenix_spec, metadata=metadata
      )
      self._replay_state = ReplayState(phoenix_spec)
  
imports: import abc
  import collections
  from absl import logging
  from model_search.architecture import architecture_utils
  from model_search.generators import base_tower_generator
  from model_search.generators import trial_utils
  from model_search.generators.prior_generator import PriorGenerator
  from model_search.generators.replay_generator import ReplayGenerator
  from model_search.generators.search_candidate_generator import SearchCandidateGenerator
label_desc: Use image node_id 1 to create a new InProcessController object from inherited base classes: Controller with example: obj = InProcessController(phoenix_spec, metadata)