code: def test_generator_in_while(self):
      with self.assertRaisesRegex(NotImplementedError, "generators"):
          tf.function(generator_in_while)(0)
  
file_path: tensorflow-upstream/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 the LoopControlFlowTest obj's underlying member method code with example usage: obj.test_generator_in_while() without return types