class_docstr: Exact inference by enumerating over all possible executions
code: def __init__(self, model, max_tries=int(1e6), **kwargs):
      self.model = model
      self.max_tries = max_tries
      super().__init__(**kwargs)
  
imports: import collections
  import functools
  import queue
  import torch
  import pyro.distributions
  import pyro.poutine
  from pyro.distributions.util import logsumexp
  from pyro.infer.abstract_infer import TracePosterior
  from pyro.poutine.runtime import NonlocalExit
label_desc: Use image node_id 1 to create a new Search object from inherited base classes: TracePosterior with example: obj = Search(model, max_tries)