code: def _prefix_condition_univariate(d, data):
      t = data.size(-2)
      params = {
          name: getattr(d, name)[..., t:, :]
          for name in UNIVARIATE_DISTS[type(d)]
      }
      return type(d)(**params)
  
imports: import numbers
  from functools import singledispatch
  import torch
  from torch.distributions import transform_to, transforms
  import pyro.distributions
  from pyro.infer.reparam import DiscreteCosineReparam, HaarReparam
  from pyro.poutine.messenger import Messenger
  from pyro.poutine.util import site_is_subsample
  from pyro.primitives import get_param_store
label_desc: Use image node_id 9 for calling a global function with example usage: _prefix_condition_univariate(d, data) and returns: type