code: def time_reparam_dct(msg):
      """
      EXPERIMENTAL Configures ``poutine.reparam()`` to use a ``HaarReparam`` for
      all sites inside the ``time`` plate.
      """
      if msg["is_observed"]:
          return
      for frame in msg["cond_indep_stack"]:
          if frame.name == "time":
              dim = frame.dim - msg["fn"].event_dim
              return HaarReparam(dim=dim, experimental_allow_batch=True)
  
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 1 for calling a global function with example usage: time_reparam_dct(msg) and returns: HaarReparam