code: def test_builder_stress(self, compute_unit, backend, config):
      nonzero_data, mask, shape = (
          config["nonzero_data"],
          config["mask"],
          config["shape"],
      )
  
      def build(x):
          y = mb.constexpr_sparse_to_dense(
              nonzero_data=nonzero_data,
              mask=mask,
              shape=shape.astype(np.uint32),
          )
          return mb.add(x=x, y=y)
  
      expected_output_types = (
          *shape,
          types.numpy_type_to_builtin_type(nonzero_data.dtype),
      )
  
      t = np.random.rand(*shape).astype(nonzero_data.dtype)
      decompressed_constant = (
          constexpr_ops.constexpr_sparse_to_dense.decompress(
              nonzero_data, mask, shape
          )
      )
      expected_outputs = t + decompressed_constant
  
      input_placeholders = {
          "x": mb.placeholder(shape=shape),
      }
      input_values = {"x": t}
      mlmodel = run_compare_builder(
          build,
          input_placeholders,
          input_values,
          expected_output_types,
          expected_outputs,
          compute_unit=compute_unit,
          backend=backend,
      )
  
      # validate that the constexpr op is not removed by any graph pass
      prog = mlmodel._mil_program
      if "constexpr_sparse_to_dense" not in get_op_types_in_program(
          prog
      ):
          raise AssertionError("Invalidated: Test Failed")
  
imports: import itertools
  import numpy
  import pytest
  from coremltools.converters.mil import testing_reqs
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.ops.defs.iOS16 import constexpr_ops
  from coremltools.converters.mil.mil.ops.tests.iOS16 import backends
  from coremltools.converters.mil.mil.ops.tests.testing_utils import run_compare_builder
  from coremltools.converters.mil.testing_utils import get_op_types_in_program, ssa_fn
label_desc: Use image node_id 4 for calling the TestConstexprSparseToDense obj's underlying member method code with example usage: obj.test_builder_stress(compute_unit, backend, config) and returns: mb