code: def _is_all_float(self, master_param_groups):
      for p in self._generate_params(master_param_groups):
          self.assertEqual(p.dtype, torch.float32)
  
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 17 for calling the TestFp16Optimizer obj's underlying member method code with example usage: obj._is_all_float(master_param_groups) without return types