code: def generator_in_while(n):
      i = 0
      while i < n:
          i += 1
          yield i
  
file_path: tensorflow/tensorflow/python/autograph/tests/generator_test.py
imports: import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 3 for calling a global function with example usage: generator_in_while(n) without return types