code: def test_builder_to_backend_smoke(self, compute_unit, backend):
      x_val = np.array([0.37, 6.17], dtype=np.float32).reshape(
          [1, 1, 2, 1]
      )
      input_placeholder_dict = {"x": mb.placeholder(shape=x_val.shape)}
      input_value_dict = {"x": x_val}
  
      def build_model(x):
          return [
              mb.resize_nearest_neighbor(
                  x=x,
                  target_size_height=2,
                  target_size_width=1,
              ),
              mb.resize_nearest_neighbor(
                  x=x,
                  target_size_height=2,
                  target_size_width=3,
              ),
          ]
  
      expected_output_types = [
          (1, 1, 2, 1, types.fp32),
          (1, 1, 2, 3, types.fp32),
      ]
      expected_outputs = [
          x_val,
          np.array(
              [0.37, 0.37, 0.37, 6.17, 6.17, 6.17], dtype=np.float32
          ).reshape([1, 1, 2, 3]),
      ]
  
      run_compare_builder(
          build_model,
          input_placeholder_dict,
          input_value_dict,
          expected_output_types,
          expected_outputs,
          compute_unit=compute_unit,
          backend=backend,
      )
  
imports: import functools
  import itertools
  import numpy
  import pytest
  import coremltools
  from coremltools._deps import _HAS_TORCH, MSG_TORCH_NOT_FOUND
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil import get_new_symbol, types
  from coremltools.converters.mil.mil.ops.tests.iOS14 import backends
  from coremltools.converters.mil.mil.ops.tests.testing_utils import mark_api_breaking, run_compare_builder
  from coremltools.converters.mil.testing_reqs import compute_units
  from coremltools.converters.mil.testing_utils import random_gen
label_desc: Use image node_id 1 for calling the TestResizeNearestNeighbor obj's underlying member method code with example usage: obj.test_builder_to_backend_smoke(compute_unit, backend) and returns: list