code: def iterator_next_in_loop(ds, n):
      itr = iter(ds)
      s = tf.constant(0, dtype=tf.int64)
      for _ in range(n):
          s = s * 10 + next(itr)
      return s
  
imports: import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 14 for calling a global function with example usage: iterator_next_in_loop(ds, n) and returns: s