code: def _universal_image_quality_index(
      preds: Tensor,
      target: Tensor,
      kernel_size: Sequence[int] = (11, 11),
      sigma: Sequence[float] = (1.5, 1.5),
      reduction: Optional[
          Literal["elementwise_mean", "sum", "none"]
      ] = "elementwise_mean",
  ) -> Tensor:
      """Wrapper for deprecated import.
  
      >>> import torch
      >>> preds = torch.rand([16, 1, 16, 16])
      >>> target = preds * 0.75
      >>> _universal_image_quality_index(preds, target)
      tensor(0.9216)
  
      """
      _deprecated_root_import_func(
          "universal_image_quality_index", "image"
      )
      return universal_image_quality_index(
          preds=preds,
          target=target,
          kernel_size=kernel_size,
          sigma=sigma,
          reduction=reduction,
      )
  
imports: from typing import Optional, Sequence, Tuple, Union
  from torch import Tensor
  from typing_extensions import Literal
  from torchmetrics.functional.image.d_lambda import spectral_distortion_index
  from torchmetrics.functional.image.ergas import error_relative_global_dimensionless_synthesis
  from torchmetrics.functional.image.gradients import image_gradients
  from torchmetrics.functional.image.psnr import peak_signal_noise_ratio
  from torchmetrics.functional.image.rase import relative_average_spectral_error
  from torchmetrics.functional.image.rmse_sw import root_mean_squared_error_using_sliding_window
  from torchmetrics.functional.image.sam import spectral_angle_mapper
  from torchmetrics.functional.image.ssim import multiscale_structural_similarity_index_measure, structural_similarity_index_measure
  from torchmetrics.functional.image.tv import total_variation
  from torchmetrics.functional.image.uqi import universal_image_quality_index
  from torchmetrics.utilities.prints import _deprecated_root_import_func
label_desc: Use image node_id 11 for calling a global function with example usage: _universal_image_quality_index(preds, target, kernel_size, sigma, reduction) and returns: universal_image_quality_index