class_docstr: Output type of :func:`pyro.ops.jit.trace`.
  
  Wrapper around the output of :func:`torch.jit.trace`
  that handles parameter plumbing.
  
  The actual PyTorch compilation artifact is stored in :attr:`compiled`.
  Call diagnostic methods on this attribute.
class_docstr_tok: ["Output","type","of",":","func",":","`","pyro.ops.jit.trace","`",".","Wrapper","around","the","output","of",":","func",":","`","torch.jit.trace","`","that","handles","parameter","plumbing",".","The","actual","PyTorch","compilation","artifact","is","stored","in",":","attr",":","`","compiled","`",".","Call","diagnostic","methods","on","this","attribute","."]
code: def __init__(self, fn, ignore_warnings=False, jit_options=None):
      self.fn = fn
      self.compiled = {}  # len(args) -> callable
      self.ignore_warnings = ignore_warnings
      self.jit_options = {} if jit_options is None else jit_options
      self.jit_options.setdefault("check_trace", False)
      self.compile_time = None
      self._param_names = None
  
file_path: pyro/pyro/ops/jit.py
imports: import argparse
  import warnings
  import weakref
  import torch
  import pyro
  import pyro.poutine
  from pyro.util import ignore_jit_warnings, optional, timed
label_desc: Use image node_id 1 to create a new CompiledFunction object  with example: obj = CompiledFunction(fn, ignore_warnings, jit_options)