code: def _create_graph_with_y_function_of_x_with_tf_while():
      x = tf.raw_ops.Placeholder(dtype=tf.int64, shape=())
  
      # Subtract 10 from x using a tf.while_loop.
      @tf.function(
          input_signature=[
              tf.TensorSpec([], tf.int32),
              tf.TensorSpec([], tf.int64),
          ]
      )
      def stop_condition(counter, x_minus_counter):
          del x_minus_counter  # unused
          return tf.less(counter, 10)
  
      @tf.function(
          input_signature=[
              tf.TensorSpec([], tf.int32),
              tf.TensorSpec([], tf.int64),
          ]
      )
      def iteration(counter, x_minus_counter):
          return tf.add(counter, 1), tf.add(x_minus_counter, -1)
  
      initial_values = [tf.constant(0), x]
      final_values = tf.raw_ops.While(
          cond=stop_condition.get_concrete_function(),
          body=iteration.get_concrete_function(),
          input=initial_values,
      )
  
      y = final_values[1]
      return {"x": x, "y": y}
  
imports: import abc
  import os
  import tempfile
  import tensorflow
  from tensorflow_transform import graph_tools
  from tensorflow_transform import test_case
  from tfx_bsl.types import tfx_namedtuple
  from tensorflow.python.ops import control_flow_ops
label_desc: Use image node_id 18 for calling a global function with example usage: _create_graph_with_y_function_of_x_with_tf_while() and returns: dict, tf, tf,  tf