def freeze_feature_extractor(self):
        """
        Calling this function will disable the gradient computation for the feature encoder so that its parameters will
        not be updated during training.
        """
        warnings.warn(
            "The method `freeze_feature_extractor` is deprecated and will be removed in Transformers v5. "
            "Please use the equivalent `freeze_feature_encoder` method instead.",
            FutureWarning,
        )
        self.freeze_feature_encoder()

        Calling this function will disable the gradient computation for the feature encoder so that its parameters will
        not be updated during training.
        
dpkd/transformers/src/transformers/models/wavlm/modeling_wavlm.py