def output_layer(self, features, **kwargs):
        """Project features to the vocabulary size."""
        # project back to size of vocabulary
        if self.share_input_output_embed:
            return F.linear(features, self.embed_tokens.weight)
        else:
            return F.linear(features, self.embed_out)
Project features to the vocabulary size.
structured_prompting/fairseq-version/fairseq/fairseq/models/wav2vec/wav2vec2_asr.py