code: def test_builder_to_backend_smoke(self, use_cpu_only, backend):
      input_placeholders = {
          "a": mb.placeholder(shape=(1,), dtype=types.bool),
          "b": mb.placeholder(shape=(1,)),
      }
  
      def build(a, b):
          def true_fn():
              return mb.add(x=b, y=1), mb.mul(x=b, y=2)
  
          def false_fn():
              return mb.add(x=b, y=-1), mb.mul(x=b, y=-2)
  
          pred = mb.squeeze(x=a)
          return mb.cond(
              pred=pred, _true_fn=true_fn, _false_fn=false_fn
          )
  
      input_values = {
          "a": np.array([0], dtype=np.float32),
          "b": np.array([2], dtype=np.float32),
      }
  
      expected_output_types = [
          (1, types.fp32),
          (1, types.fp32),
      ]
  
      expected_outputs = [
          np.array([1], dtype=np.float32),
          np.array([-4], 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_control_flow.py
imports: from coremltools.converters.mil import testing_reqs
  from coremltools.converters.mil.testing_reqs import *
  from .testing_utils import run_compare_builder, UNK_SYM
label_desc: Use image node_id 1 for calling the TestCond obj's underlying member method code with example usage: obj.test_builder_to_backend_smoke(use_cpu_only, backend) and returns: mb, mb,  mb, mb,  mb