def METHOD_NAME(self, squared, preds, target, ref_metric, num_outputs):
    """Test dtype support of the metric on CPU."""
    self.run_precision_test_cpu(
        preds,
        target,
        partial(RelativeSquaredError, num_outputs=num_outputs),
        relative_squared_error,
        {"squared": squared},
    )