code: def Marginal(fn):
      return memoize(
          lambda *args: HashingMarginal(Search(fn).run(*args))
      )
  
file_path: pyro/examples/rsa/hyperbole.py
imports: import argparse
  import collections
  import torch
  from search_inference import HashingMarginal, Search, memoize
  import pyro
  import pyro.distributions
  import pyro.poutine
label_desc: Use image node_id 1 for calling a global function with example usage: Marginal(fn) and returns: memoize