src/transformers/models/unispeech/modeling_unispeech.py/UniSpeechFeatureEncoder/_freeze_parameters
class UniSpeechFeatureEncoder:    def _freeze_parameters(self):
        for param in self.parameters():
            param.requires_grad = False
        self._requires_grad = False