code: def test_builder_to_backend_smoke(
      self, compute_unit, backend, coordinates_dtype
  ):
      # The fp16 precision will have two casts inserted for input/output
      expected_cast_ops = 2 if backend.precision == "fp16" else 0
      if (
          backend.precision == "fp16"
          and coordinates_dtype == np.float32
      ):
          # The coordinates also cast to fp16.
          expected_cast_ops += 1
      if coordinates_dtype not in (np.int32, np.float16, np.float32):
          # For dtype not supported in CoreML I/O, a cast will be inserted.
          expected_cast_ops += 1
      self._test_builder_to_backend_smoke(
          compute_unit, backend, coordinates_dtype, expected_cast_ops
      )
  
imports: import itertools
  import numpy
  import pytest
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.ops.tests.iOS15.test_image_resizing import TestResample
  from coremltools.converters.mil.mil.ops.tests.iOS17 import backends
  from coremltools.converters.mil.mil.ops.tests.testing_utils import UNK_SYM, run_compare_builder
  from coremltools.converters.mil.testing_reqs import compute_units
label_desc: Use image node_id 1 for calling the TestResample obj's underlying member method code with example usage: obj.test_builder_to_backend_smoke(compute_unit, backend, coordinates_dtype) without return types