class_docstr: Base test class and used for CPU case.
docstr: Test module without any param.
docstr_tok: ["Test","module","without","any","param","."]
code: def test_empty_module(self):
      """Test module without any param."""
      module = self._get_empty_module()
      in_data = torch.rand(1)
      ref_out = module(in_data)
      module = FlattenParamsWrapper(module)
      assert len(list(module.parameters())) == 0
      assert len(module.state_dict()) == 0
      fpw_out = module(in_data)
      torch.testing.assert_allclose(ref_out, fpw_out)
  
imports: from collections import OrderedDict
  import unittest
  import torch
  from fairscale.fair_dev.testing.testing import objects_are_equal
  from fairscale.nn import FlattenParamsWrapper
label_desc: Use image node_id 15 for calling the TestFlattenParams obj's underlying member method code with example usage: obj.test_empty_module() without return types