code: def test_builder_to_backend_stress(
      self, use_cpu_only, backend, shapes
  ):
      shape_x, shape_y = shapes
      x_val = np.random.rand(*shape_x)
      y_val = np.random.rand(*shape_y)
      input_placeholders = {
          "x": mb.placeholder(shape=x_val.shape),
          "y": mb.placeholder(shape=y_val.shape),
      }
      input_values = {"x": x_val, "y": y_val}
  
      def build(x, y):
          return [
              mb.matmul(x=x, y=y, transpose_x=False, transpose_y=False)
          ]
  
      expected_outputs = [np.matmul(x_val, y_val)]
      expected_output_types = [
          o.shape[:] + (types.fp32,) for o in expected_outputs
      ]
  
      run_compare_builder(
          build,
          input_placeholders,
          input_values,
          expected_output_types,
          expected_outputs,
          use_cpu_only=use_cpu_only,
          backend=backend,
      )
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/ops/tests/test_linear.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 3 for calling the TestMatMul obj's underlying member method code with example usage: obj.test_builder_to_backend_stress(use_cpu_only, backend, shapes) and returns: list