code: def test_value(self, input_params, expected_value):
      result = compute_panoptic_quality(**input_params)
      np.testing.assert_allclose(
          result.cpu().detach().item(), expected_value, atol=1e-4
      )
      np.testing.assert_equal(
          result.device, input_params["pred"].device
      )
  
file_path: MONAI/tests/test_compute_panoptic_quality.py
imports: from __future__ import annotations
  import unittest
  from typing import List
  import numpy
  import torch
  from parameterized import parameterized
  from monai.metrics import PanopticQualityMetric, compute_panoptic_quality
  from tests.utils import SkipIfNoModule
label_desc: Use image node_id 1 for calling the TestPanopticQualityMetric obj's underlying member method code with example usage: obj.test_value(input_params, expected_value) without return types