code: def _subtract_ten_with_tf_while(x):
      """Subtracts 10 from x using control flow ops.
  
      This function is equivalent to "x - 10" but uses a tf.while_loop, in order
      to test the use of functions that involve control flow ops.
  
      Args:
        x: A tensor of integral type.
  
      Returns:
        A tensor representing x - 10.
      """
  
      def stop_condition(counter, x_minus_counter):
          del x_minus_counter  # unused
          return tf.less(counter, 10)
  
      def iteration(counter, x_minus_counter):
          return tf.add(counter, 1), tf.add(x_minus_counter, -1)
  
      initial_values = [tf.constant(0), x]
      return tf.while_loop(
          cond=stop_condition, body=iteration, loop_vars=initial_values
      )[1]
  
imports: import copy
  import os
  import numpy
  from packaging import version
  import pyarrow
  import tensorflow
  from tensorflow_transform import analyzers
  from tensorflow_transform import impl_helper
  from tensorflow_transform import schema_inference
  from tensorflow_transform import test_case
  from tensorflow_transform.output_wrapper import TFTransformOutput
  from tensorflow_transform.tf_metadata import schema_utils
label_desc: Use image node_id 5 for calling a global function with example usage: _subtract_ten_with_tf_while(x) and returns: tf, tf, tf,  tf