code: def iterator_two_vars_loop(ds):
      s = tf.constant(0, dtype=tf.int64)
      p = tf.constant(1, dtype=tf.int64)
      for e in iter(ds):
          s += e
          p *= e
      return s, p
  
imports: import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 6 for calling a global function with example usage: iterator_two_vars_loop(ds) and returns: s,  p