def METHOD_NAME(self, ys, state, x):
    """Score."""
    logp, state = self.forward_one_step(
        ys.unsqueeze(0), torch.empty(0), x.unsqueeze(0), cache=state  # dummy mask
    )
    return logp.squeeze(0), state