class_docstr: Tests for SpatialCorrelationCoefficient metric.
class_docstr_tok: ["Tests","for","SpatialCorrelationCoefficient","metric","."]
docstr: Test SpatialCorrelationCoefficient class usage.
docstr_tok: ["Test","SpatialCorrelationCoefficient","class","usage","."]
code: def test_scc(self, preds, target, ddp):
      """Test SpatialCorrelationCoefficient class usage."""
      self.run_class_metric_test(
          ddp,
          preds,
          target,
          metric_class=SpatialCorrelationCoefficient,
          reference_metric=_reference_scc,
      )
  
file_path: torchmetrics/tests/unittests/image/test_scc.py
imports: import numpy
  import pytest
  import torch
  from sewar.full_ref import scc
  from torchmetrics.functional.image import spatial_correlation_coefficient
  from torchmetrics.image import SpatialCorrelationCoefficient
  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 1 for calling the TestSpatialCorrelationCoefficient obj's underlying member method code with example usage: obj.test_scc(preds, target, ddp) without return types