code: def test_nested_loop():
      graph = tf.Graph()
      with graph.as_default():
  
          def body(x):
              def nest_body(c):
                  return tf.multiply(c, 2)
  
              def cd(c):
                  return tf.less(c, 10)
  
              c = tf.constant(2)
              res = tf.while_loop(cd, nest_body, loop_vars=[c])
              return tf.nn.relu(x + res)
  
          def condition(x):
              return tf.greater(x, 100)
  
          x = tf.constant(3)
          r = tf.while_loop(condition, body, loop_vars=[x])
  
          with tf.Session() as sess:
              tf_out = sess.run(r)
  
      check_equal(graph, tf_out)
  
imports: import pytest
  from tensorflow.python.ops import control_flow_ops
  import numpy
  from tvm import nd, relay, ir, testing
  from tvm.relay.frontend.tensorflow import from_tensorflow
label_desc: Use image node_id 8 for calling a global function with example usage: test_nested_loop() and returns: tf, tf, tf, tf