def params(self):
        """
        Return an iterable of the parameters held by the optimizer.
        """
        for param_group in self.optimizer.param_groups:
            for p in param_group['params']:
                yield p

        Return an iterable of the parameters held by the optimizer.
        
EVA-CLIP/rei/training/fp16.py