code: def _generate_params(self, param_groups):
      for group in param_groups:
          for p in group["params"]:
              yield p
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import copy
  import unittest
  import torch
  from pytext.optimizer import fp16_optimizer
  from torch.autograd import Variable
label_desc: Use image node_id 25 for calling the TestFp16Optimizer obj's underlying member method code with example usage: obj._generate_params(param_groups) without return types