code: def test_builder_to_backend_smoke(self, compute_unit, backend):
      x = np.array([1.5, 2.5, 3.5], dtype=np.float32).reshape(
          [1, 1, 1, 3]
      )
      input_placeholder_dict = {"x": mb.placeholder(shape=x.shape)}
      input_value_dict = {"x": x}
  
      def build(x):
          return mb.upsample_nearest_neighbor(
              x=x, scale_factor_height=1, scale_factor_width=2
          )
  
      expected_output_type = (1, 1, 1, 6, types.fp32)
      expected_output = np.array(
          [1.5, 1.5, 2.5, 2.5, 3.5, 3.5], dtype=np.float32
      ).reshape([1, 1, 1, 6])
  
      run_compare_builder(
          build,
          input_placeholder_dict,
          input_value_dict,
          expected_output_type,
          expected_output,
          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 TestUpsampleNearestNeighbor obj's underlying member method code with example usage: obj.test_builder_to_backend_smoke(compute_unit, backend) and returns: mb