code: def test_loop_conditions():
      graph = tf.Graph()
      with graph.as_default():
          i = tf.constant(1)
          j = tf.constant(1)
          k = tf.constant(5)
  
          def c(i, j, k):
              return tf.equal(
                  tf.not_equal(tf.less(i + j, 10), tf.less(j * k, 100)),
                  tf.greater_equal(k, i + j),
              )
  
          def b(i, j, k):
              return [i + j, j + k, k + 1]
  
          r = tf.while_loop(c, b, loop_vars=[i, j, k])
          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 6 for calling a global function with example usage: test_loop_conditions() and returns: tf, list