@pytest.mark.skipif((not torch.cuda.is_available()), reason='test requires cuda')
def test_pearson_corrcoef_half_gpu(self, preds, targets, power):
    metric_args = {'power': power}
    self.run_precision_test_gpu(preds, targets, metric_module=TweedieDevianceScore, metric_functional=tweedie_deviance_score, metric_args=metric_args)
@pytest.mark.skipif((not torch.cuda.is_available()), reason='test requires cuda')
def test_pearson_corrcoef_half_gpu(self, preds, targets, power):
    metric_args = {'power': power}
    self.run_precision_test_gpu(preds, targets, metric_module=TweedieDevianceScore, metric_functional=tweedie_deviance_score, metric_args=metric_args)