class_docstr: Test class for `UniversalImageQualityIndex` metric.
docstr: Test dtype support of the metric on CPU.
docstr_tok: ["Test","dtype","support","of","the","metric","on","CPU","."]
code: def test_uqi_half_cpu(self, preds, target, multichannel, kernel_size):
      """Test dtype support of the metric on CPU."""
      self.run_precision_test_cpu(
          preds,
          target,
          UniversalImageQualityIndex,
          universal_image_quality_index,
      )
  
imports: from functools import partial
  from typing import NamedTuple
  import pytest
  import torch
  from skimage.metrics import structural_similarity
  from torch import Tensor
  from torchmetrics.functional.image.uqi import universal_image_quality_index
  from torchmetrics.image.uqi import UniversalImageQualityIndex
  from unittests import BATCH_SIZE, NUM_BATCHES
  from unittests.helpers import seed_all
  from unittests.helpers.testers import MetricTester
label_desc: Use image node_id 3 for calling the TestUQI obj's underlying member method code with example usage: obj.test_uqi_half_cpu(preds, target, multichannel, kernel_size) without return types