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