code: def test_builder_to_backend_smoke(self, compute_unit, backend):
      x_val = np.array(
          [11.0, 22.0, 33.0, 44.0], dtype=np.float32
      ).reshape([1, 1, 2, 2])
      transform_matrix_val = np.array(
          [-1.0, -2.0, -3.7, -1.0, 3.5, 1.2], dtype=np.float32
      ).reshape([1, 6])
  
      input_placeholder_dict = {
          "x": mb.placeholder(shape=x_val.shape),
          "transform_matrix": mb.placeholder(
              shape=transform_matrix_val.shape
          ),
      }
      input_value_dict = {
          "x": x_val,
          "transform_matrix": transform_matrix_val,
      }
  
      def build(x, transform_matrix):
          return [
              mb.affine(
                  x=x,
                  transform_matrix=transform_matrix,
                  output_height=3,
                  output_width=3,
                  sampling_mode="bilinear",
                  padding_mode="constant",
                  padding_value=0.0,
                  coordinates_mode="normalized_minus_one_to_one",
                  align_corners=True,
              ),
              mb.affine(
                  x=x,
                  transform_matrix=transform_matrix,
                  output_height=2,
                  output_width=5,
                  sampling_mode="bilinear",
                  padding_mode="constant",
                  padding_value=0.0,
                  coordinates_mode="normalized_minus_one_to_one",
                  align_corners=True,
              ),
          ]
  
      expected_output_types = [
          (1, 1, 3, 3, types.fp32),
          (1, 1, 2, 5, types.fp32),
      ]
      expected_outputs = [
          np.array(
              [
                  10.752501,
                  2.5025,
                  0.0,
                  1.9799997,
                  0.0,
                  0.0,
                  0.0,
                  0.0,
                  0.0,
              ],
              dtype=np.float32,
          ).reshape([1, 1, 3, 3]),
          np.array(
              [
                  10.752501,
                  5.94,
                  2.5025,
                  0.44000006,
                  0.0,
                  0.0,
                  0.0,
                  0.0,
                  0.0,
                  0.0,
              ],
              dtype=np.float32,
          ).reshape([1, 1, 2, 5]),
      ]
  
      run_compare_builder(
          build,
          input_placeholder_dict,
          input_value_dict,
          expected_output_types,
          expected_outputs,
          compute_unit=compute_unit,
          backend=backend,
      )
  
imports: import itertools
  import numpy
  import pytest
  import coremltools
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil import get_new_symbol, types
  from coremltools.converters.mil.mil.ops.tests.iOS15 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
label_desc: Use image node_id 1 for calling the TestAffine obj's underlying member method code with example usage: obj.test_builder_to_backend_smoke(compute_unit, backend) and returns: list