code: def _compare_param_groups(self, param_groups_1, param_groups_2):
      self.assertTrue(isinstance(param_groups_1, list))
      self.assertTrue(isinstance(param_groups_2, list))
      for groups in zip(param_groups_1, param_groups_2):
          self._compare_param_group(groups[0], groups[1])
  
imports: import unittest
  import torch
  import torch.nn
  from torch.distributed.optim import _NamedOptimizer
label_desc: Use image node_id 2 for calling the NamedOptimizerTest obj's underlying member method code with example usage: obj._compare_param_groups(param_groups_1, param_groups_2) without return types