class_docstr: Test class for `ScaleInvariantSignalNoiseRatio` metric.
class_docstr_tok: ["Test","class","for","`","ScaleInvariantSignalNoiseRatio","`","metric","."]
docstr: Test functional implementation of metric.
docstr_tok: ["Test","functional","implementation","of","metric","."]
code: def test_si_snr_functional(self, preds, target, ref_metric):
      """Test functional implementation of metric."""
      self.run_functional_metric_test(
          preds,
          target,
          scale_invariant_signal_noise_ratio,
          ref_metric,
      )
  
file_path: torchmetrics/tests/unittests/audio/test_si_snr.py
imports: from functools import partial
  import pytest
  import speechmetrics
  import torch
  from torch import Tensor
  from torchmetrics.audio import ScaleInvariantSignalNoiseRatio
  from torchmetrics.functional.audio import scale_invariant_signal_noise_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 2 for calling the TestSISNR obj's underlying member method code with example usage: obj.test_si_snr_functional(preds, target, ref_metric) without return types