class_docstr: Wrapper for deprecated import.
  
  >>> import torch
  >>> preds = torch.rand([3, 3, 256, 256])
  >>> target = preds * 0.75
  >>> ssim = _StructuralSimilarityIndexMeasure(data_range=1.0)
  >>> ssim(preds, target)
  tensor(0.9219)
code: def __init__(
      self,
      gaussian_kernel: bool = True,
      sigma: Union[float, Sequence[float]] = 1.5,
      kernel_size: Union[int, Sequence[int]] = 11,
      reduction: Literal[
          "elementwise_mean", "sum", "none", None
      ] = "elementwise_mean",
      data_range: Optional[Union[float, Tuple[float, float]]] = None,
      k1: float = 0.01,
      k2: float = 0.03,
      return_full_image: bool = False,
      return_contrast_sensitivity: bool = False,
      **kwargs: Any,
  ) -> None:
      _deprecated_root_import_class(
          "StructuralSimilarityIndexMeasure", "image"
      )
      super().__init__(
          gaussian_kernel=gaussian_kernel,
          sigma=sigma,
          kernel_size=kernel_size,
          reduction=reduction,
          data_range=data_range,
          k1=k1,
          k2=k2,
          return_full_image=return_full_image,
          return_contrast_sensitivity=return_contrast_sensitivity,
          **kwargs,
      )
  
imports: from typing import Any, Dict, Optional, Sequence, Tuple, Union
  from typing_extensions import Literal
  from torchmetrics.image.d_lambda import SpectralDistortionIndex
  from torchmetrics.image.ergas import ErrorRelativeGlobalDimensionlessSynthesis
  from torchmetrics.image.psnr import PeakSignalNoiseRatio
  from torchmetrics.image.rase import RelativeAverageSpectralError
  from torchmetrics.image.rmse_sw import RootMeanSquaredErrorUsingSlidingWindow
  from torchmetrics.image.sam import SpectralAngleMapper
  from torchmetrics.image.ssim import MultiScaleStructuralSimilarityIndexMeasure, StructuralSimilarityIndexMeasure
  from torchmetrics.image.tv import TotalVariation
  from torchmetrics.image.uqi import UniversalImageQualityIndex
  from torchmetrics.utilities.prints import _deprecated_root_import_class
label_desc: Use image node_id 1 to create a new _StructuralSimilarityIndexMeasure object from inherited base classes: StructuralSimilarityIndexMeasure with example: obj = _StructuralSimilarityIndexMeasure(gaussian_kernel, sigma, kernel_size, reduction, data_range, k1, k2, return_full_image, return_contrast_sensitivity)