src/transformers/models/wavlm/modeling_wavlm.py/WavLMFeatureEncoder/_freeze_parameters
class WavLMFeatureEncoder:    def _freeze_parameters(self):
        for param in self.parameters():
            param.requires_grad = False
        self._requires_grad = False