code: def test_smoke_builder_to_backend_dequantize_per_channel(
      self, compute_unit, backend
  ):
      def build(x):
          x = mb.cast(x=x, dtype="fp32")
          # TODO(rdar://107430678): Replace scale=1 zero_point=0 quantize/dequantize with cast
          quantized = mb.quantize(
              input=x,
              scale=np.float32(1),
              output_dtype="int8",
          )
          dequantized = mb.dequantize(
              input=quantized,
              zero_point=np.int8([-5, 5]),
              scale=np.float32([0.2, 0.3]),
              axis=1,
          )
          return dequantized
  
      x = np.array([[-10, -5], [0, 5]], dtype=np.float32)
      expected_output = np.array([[-1, -3], [1, 0]], dtype=np.float32)
      expected_output_type = expected_output.shape + (
          numpy_type_to_builtin_type(expected_output.dtype),
      )
      run_compare_builder(
          build,
          input_placeholders={"x": mb.placeholder(shape=x.shape)},
          input_values={"x": x},
          expected_output_types=[expected_output_type],
          expected_outputs=[expected_output],
          compute_unit=compute_unit,
          backend=_set_backend_precision(backend, "fp32"),
          atol=1e-3,
          rtol=1e-3,
      )
  
imports: import itertools
  from typing import Tuple
  import numpy
  import pytest
  from coremltools._deps import _HAS_TORCH, MSG_TORCH_NOT_FOUND
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil.ops.tests.iOS17 import backends
  from coremltools.converters.mil.mil.ops.tests.testing_utils import run_compare_builder
  from coremltools.converters.mil.mil.types import builtin_to_string, numpy_type_to_builtin_type
  from coremltools.converters.mil.testing_reqs import BackendConfig, compute_units
  from coremltools.converters.mil.testing_utils import ssa_fn
label_desc: Use image node_id 5 for calling the TestDequantize obj's underlying member method code with example usage: obj.test_smoke_builder_to_backend_dequantize_per_channel(compute_unit, backend) and returns: dequantized