code: def test_delta_smoke(init_fn):
      @easy_guide(model)
      def guide(self, batch, subsample, full_size):
          self.map_estimate("drift")
          with self.plate("data", full_size, subsample=subsample):
              self.group(match="state_[0-9]*").map_estimate()
  
      if init_fn is not None:
          guide.init = init_fn
  
      check_guide(guide)
  
imports: import io
  import warnings
  import pytest
  import torch
  from torch.distributions import constraints
  import pyro
  import pyro.distributions
  from pyro.contrib.easyguide import EasyGuide, easy_guide
  from pyro.infer import SVI, Trace_ELBO
  from pyro.infer.autoguide.initialization import init_to_mean, init_to_median
  from pyro.optim import Adam
  from pyro.util import ignore_jit_warnings
label_desc: Use image node_id 3 for calling a global function with example usage: test_delta_smoke(init_fn) without return types