code: def test_csis_parameter_update():
      pyro.clear_param_store()
      guide = Guide()
      initial_parameters = {
          k: v.item() for k, v in guide.named_parameters()
      }
      csis = pyro.infer.CSIS(
          model, guide, pyro.optim.Adam({"lr": 1e-2})
      )
      csis.step()
      updated_parameters = {
          k: v.item() for k, v in guide.named_parameters()
      }
      for k, init_v in initial_parameters.items():
          assert_not_equal(init_v, updated_parameters[k])
  
file_path: pyro/tests/infer/test_csis.py
imports: import pytest
  import torch
  import torch.nn
  import pyro
  import pyro.distributions
  import pyro.infer
  import pyro.optim
  from tests.common import assert_equal, assert_not_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_csis_parameter_update() without return types