def METHOD_NAME(self, preds: Tensor, target: Tensor) -> None:
    """Update state with predictions and targets."""
    confmat = _tschuprows_t_update(preds, target, self.num_classes, self.nan_strategy, self.nan_replace_value)
    self.confmat += confmat