def METHOD_NAME(self, preds: Tensor, target: Tensor) -> None:
    """Update state with predictions and targets.
    Raises:
        ValueError:
            If ``preds`` or ``target`` has multiple outputs when ``num_outputs=1``
    """
    sum_log_cosh_error, n_obs = _log_cosh_error_update(preds, target, self.num_outputs)
    self.sum_log_cosh_error += sum_log_cosh_error
    self.total += n_obs