code: def get_trace(fn, *args, **kwargs):
      set_rng_seed(123)
      return poutine.trace(fn).get_trace(*args, **kwargs)
  
file_path: pyro/tests/poutine/test_properties.py
imports: import pytest
  import torch
  import pyro
  import pyro.distributions
  import pyro.poutine
  from pyro.util import set_rng_seed
  from tests.common import assert_equal
label_desc: Use image node_id 6 for calling a global function with example usage: get_trace(fn) and returns: poutine