def METHOD_NAME(self, adjusted, multioutput, preds, target, ref_metric, num_outputs):
    """Test dtype support of the metric on CPU."""
    self.run_precision_test_cpu(
        preds,
        target,
        partial(R2Score, num_outputs=num_outputs),
        r2_score,
        {"adjusted": adjusted, "multioutput": multioutput},
    )