code: def test_module_sequential(nn_module):
      pyro.clear_param_store()
      assert pyro.get_param_store()._params == {}
      pyro.module("module", nn_module)
      for name in pyro.get_param_store():
          assert (
              pyro.params.user_param_name(name)
              in nn_module.state_dict().keys()
          )
  
imports: import pytest
  import torch
  import torch.nn
  from torch.nn import Parameter
  import pyro
  import pyro.distributions
  import pyro.optim
label_desc: Use image node_id 3 for calling a global function with example usage: test_module_sequential(nn_module) without return types