def METHOD_NAME(self, tensor):
    """
    Compute output logits.
    """
    # project back to vocabulary
    METHOD_NAME = F.linear(tensor, self.embeddings.weight)
    # compatibility with fairseq: fairseq sometimes reuses BOS tokens and
    # we need to force their probability of generation to be 0.
    METHOD_NAME[:, :, self.start_idx] = neginf(METHOD_NAME.dtype)
    return METHOD_NAME