code: def build_test_graph(self) -> ops.Graph:
      g = ops.Graph()
      with g.as_default():
  
          def while_loop(x):
              def b(x):
                  with ops.name_scope("NestedCond"):
                      return cond.cond(
                          math_ops.less(x, 100),
                          lambda: math_ops.add(x, 1),
                          lambda: math_ops.add(x, 2),
                      )
  
              c = lambda x: math_ops.less(x, 10000)
              with ops.name_scope("OuterWhile"):
                  return while_loop_tf.while_loop(c, b, [x])
  
          x = array_ops.placeholder(dtypes.int32)
          with ops.name_scope("OuterCond"):
              cond.cond(
                  math_ops.less(x, 1000),
                  lambda: while_loop(x),
                  lambda: math_ops.add(x, 2),
              )
      return g
  
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import control_flow_util
  from tensorflow.python.ops import gen_control_flow_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 ControlFlowUtilTest obj's underlying member method code with example usage: obj.build_test_graph() and returns: g, while_loop_tf, cond