def METHOD_NAME(self, preds: Tensor, target: Tensor) -> None:
    """Update state with predictions and targets."""
    preds, target = _spearman_corrcoef_update(preds, target, num_outputs=self.num_outputs)
    self.preds.append(preds)
    self.target.append(target)