code: def testRemoveLowerUsingSwitchMerge(self):
      with ops.Graph().as_default():
          i = array_ops.placeholder(dtype=dtypes.int32, shape=())
          c = lambda i: math_ops.less(i, 10)
          b = lambda i: math_ops.add(i, 1)
          while_loop.while_loop(c, b, [i])
          sess = session.Session()
  
      new_graph_def = (
          convert_to_constants.disable_lower_using_switch_merge(
              sess.graph_def
          )
      )
      lower_using_switch_merge_is_removed = False
      for node in new_graph_def.node:
          if node.op == "While" or node.op == "StatelessWhile":
              if not node.attr["_lower_using_switch_merge"].b:
                  lower_using_switch_merge_is_removed = True
      self.assertTrue(lower_using_switch_merge_is_removed)
  
imports: import os
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow.lite.python import util
  from tensorflow.lite.tools.flatbuffer_utils import read_model
  from tensorflow.python.client import session
  from tensorflow.python.framework import convert_to_constants
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the UtilTest obj's underlying member method code with example usage: obj.testRemoveLowerUsingSwitchMerge() without return types