def METHOD_NAME(
    self, y: torch.Tensor, next_tokens: torch.Tensor, state: Any, x: torch.Tensor
) -> Tuple[torch.Tensor, Any]:
    """Score new token (required).
    Args:
        y (torch.Tensor): 1D prefix token
        next_tokens (torch.Tensor): torch.int64 next token to score
        state: decoder state for prefix tokens
        x (torch.Tensor): The encoder feature that generates ys
    Returns:
        tuple[torch.Tensor, Any]:
            Tuple of a score tensor for y that has a shape `(len(next_tokens),)`
            and next state for ys
    """
    raise NotImplementedError