class_docstr: Base test class and used for CPU case.
docstr: Testing nothing is flatten case.
docstr_tok: ["Testing","nothing","is","flatten","case","."]
code: def test_flatten_nothing(self):
      """Testing nothing is flatten case."""
      module = self._get_transformer()
      ref_out = self._compute_output(module)
      ref_state_dict = module.state_dict()
      for k, v in ref_state_dict.items():
          ref_state_dict[k] = v.clone()
      module = FlattenParamsWrapper(module, param_list=[[]])
      fpw_state_dict = module.state_dict()
      assert ref_state_dict.keys() == fpw_state_dict.keys()
      for k, v in ref_state_dict.items():
          torch.testing.assert_allclose(v, fpw_state_dict[k])
      fpw_out = self._compute_output(module)
      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 14 for calling the TestFlattenParams obj's underlying member method code with example usage: obj.test_flatten_nothing() without return types