src/transformers/models/speecht5/modeling_speecht5.py/SpeechT5FeatureEncoder/_freeze_parameters
class SpeechT5FeatureEncoder:    def _freeze_parameters(self):
        for param in self.parameters():
            param.requires_grad = False
        self._requires_grad = False