code: def _get_pyro_params(module):
      for name in module._parameters:
          if name.endswith("_unconstrained"):
              constrained_name = name[: -len("_unconstrained")]
              if (
                  isinstance(module, PyroModule)
                  and constrained_name in module._pyro_params
              ):
                  yield constrained_name, getattr(
                      module, constrained_name
                  )
                  continue
          yield name, module._parameters[name]
  
imports: import functools
  import inspect
  import weakref
  from collections import OrderedDict, namedtuple
  import torch
  from torch.distributions import constraints, transform_to
  import pyro
  from pyro.ops.provenance import detach_provenance
  from pyro.poutine.runtime import _PYRO_PARAM_STORE
label_desc: Use image node_id 5 for calling a global function with example usage: _get_pyro_params(module) without return types