code: def test_builder_to_backend_smoke(self, use_cpu_only, backend):
      x_val = np.array(
          [[[[-10.0, -6.0], [-7.0, 9.0]], [[-3.0, 0.0], [11.0, 7.0]]]],
          dtype=np.float32,
      )
      input_placeholders = {"x": mb.placeholder(shape=x_val.shape)}
      input_values = {"x": x_val}
  
      def build(x):
          return [
              mb.l2_pool(
                  x=x,
                  kernel_sizes=[1, 2],
                  strides=[2, 1],
                  pad_type="valid",
              ),
          ]
  
      expected_output_types = [(1, 2, 1, 1, types.fp32)]
      expected_outputs = [
          np.array([[[[11.66190338]], [[3.0]]]], dtype=np.float32)
      ]
  
      run_compare_builder(
          build,
          input_placeholders,
          input_values,
          expected_output_types,
          expected_outputs,
          use_cpu_only=use_cpu_only,
          frontend_only=False,
          backend=backend,
      )
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/ops/tests/test_pool.py
imports: from coremltools.converters.mil import testing_reqs
  from coremltools.converters.mil.testing_reqs import *
  from .testing_utils import run_compare_builder
label_desc: Use image node_id 1 for calling the TestL2Pool obj's underlying member method code with example usage: obj.test_builder_to_backend_smoke(use_cpu_only, backend) and returns: list