src/transformers/models/speecht5/modeling_speecht5.py/SpeechT5ForSpeechToText/freeze_feature_encoder
class SpeechT5ForSpeechToText:    def freeze_feature_encoder(self):
        """
        Calling this function will disable the gradient computation for the feature encoder so that its parameter will
        not be updated during training.
        """
        self.get_encoder().prenet.freeze_feature_encoder()