src/transformers/models/sew/modeling_sew.py/SEWFeatureEncoder/_freeze_parameters
class SEWFeatureEncoder:    def _freeze_parameters(self):
        for param in self.parameters():
            param.requires_grad = False
        self._requires_grad = False