    def extract_features(self, *args, **kwargs):
        """Similar to *forward* but only return features."""
        return self(*args, **kwargs)
Similar to *forward* but only return features.
fairseq/models/fairseq_model.py