src/transformers/models/data2vec/modeling_data2vec_audio.py/Data2VecAudioForXVector/freeze_feature_encoder
class Data2VecAudioForXVector:    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.data2vec_audio.feature_extractor._freeze_parameters()