AutoGraph automatically converts Python `for` and `while` loops that depend on `tf.Tensor` values into the `tf.while_loop` operation, which represents iterative execution as a single, optimizable symbolic operation within the TensorFlow computation graph.