def output_layer(self, features):
        """Project features to the vocabulary size."""
        if self.adaptive_softmax is None:
            # project back to size of vocabulary
            return self.output_projection(features)
        else:
            return features
Project features to the vocabulary size.
structured_prompting/fairseq-version/fairseq/fairseq/models/transformer/transformer_decoder.py