code: def test_builder_to_backend_smoke(self, compute_unit, 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.0), mb.mul(x=b, y=2.0)
  
          def false_fn():
              return mb.add(x=b, y=-1.0), mb.mul(x=b, y=-2.0)
  
          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,
          compute_unit=compute_unit,
          backend=backend,
      )
  
imports: import itertools
  import numpy
  import pytest
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil import get_new_symbol, types
  from coremltools.converters.mil.mil.ops.tests.iOS14 import backends
  from coremltools.converters.mil.mil.ops.tests.testing_utils import UNK_SYM, construct_inputs_from_placeholders, run_compare_builder
  from coremltools.converters.mil.testing_reqs import compute_units
  from coremltools.converters.mil.testing_utils import random_gen, ssa_fn
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(compute_unit, backend) and returns: mb, mb,  mb, mb,  mb