class_docstr: Test class for `ScaleInvariantSignalDistortionRatio` metric.
class_docstr_tok: ["Test","class","for","`","ScaleInvariantSignalDistortionRatio","`","metric","."]
docstr: Test dtype support of the metric on GPU.
docstr_tok: ["Test","dtype","support","of","the","metric","on","GPU","."]
code: def test_si_sdr_half_gpu(self, preds, target, ref_metric, zero_mean):
      """Test dtype support of the metric on GPU."""
      self.run_precision_test_gpu(
          preds=preds,
          target=target,
          metric_module=ScaleInvariantSignalDistortionRatio,
          metric_functional=scale_invariant_signal_distortion_ratio,
          metric_args={"zero_mean": zero_mean},
      )
  
file_path: torchmetrics/tests/unittests/audio/test_si_sdr.py
imports: from functools import partial
  import pytest
  import speechmetrics
  import torch
  from torch import Tensor
  from torchmetrics.audio import ScaleInvariantSignalDistortionRatio
  from torchmetrics.functional.audio import scale_invariant_signal_distortion_ratio
  from unittests import BATCH_SIZE, NUM_BATCHES, _Input
  from unittests.helpers import seed_all
  from unittests.helpers.testers import MetricTester
label_desc: Use image node_id 5 for calling the TestSISDR obj's underlying member method code with example usage: obj.test_si_sdr_half_gpu(preds, target, ref_metric, zero_mean) without return types