@pytest.mark.parametrize('ddp', [True, False])
@pytest.mark.parametrize('dist_sync_on_step', [True, False])
def test_deviance_scores_class(self, ddp, dist_sync_on_step, preds, targets, power):
    self.run_class_metric_test(ddp, preds, targets, TweedieDevianceScore, partial(_sk_deviance, power=power), dist_sync_on_step, metric_args=dict(power=power))
@pytest.mark.parametrize('ddp', [True, False])
@pytest.mark.parametrize('dist_sync_on_step', [True, False])
def test_deviance_scores_class(self, ddp, dist_sync_on_step, preds, targets, power):
    self.run_class_metric_test(ddp, preds, targets, TweedieDevianceScore, partial(_sk_deviance, power=power), dist_sync_on_step, metric_args=dict(power=power))