code: def testReconstructGraphWithWhileLoop(self):
      with session.Session(
          config=self._no_rewrite_session_config()
      ) as sess:
          loop_body = lambda i: math_ops.add(i, 2)
          loop_cond = lambda i: math_ops.less(i, 16)
          i = constant_op.constant(10, name="i")
          loop = while_loop.while_loop(loop_cond, loop_body, [i])
  
          self._compareOriginalAndReconstructedGraphDefs(sess, loop)
  
imports: import tempfile
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.core.protobuf import rewriter_config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.debug.lib import debug_graphs
  from tensorflow.python.debug.lib import debug_utils
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import test
  from tensorflow.python.training import gradient_descent
label_desc: Use image node_id 9 for calling the ReconstructNonDebugGraphTest obj's underlying member method code with example usage: obj.testReconstructGraphWithWhileLoop() without return types