def METHOD_NAME(self, preds, target, ddp):
    """Test class implementation of metric."""
    num_outputs = EXTRA_DIM if preds.ndim == 3 else 1
    self.run_class_metric_test(
        ddp,
        preds,
        target,
        SpearmanCorrCoef,
        _scipy_spearman,
        metric_args={"num_outputs": num_outputs},
    )