code: def _to_string(x):
      """Converts x to string.
  
      This will return Unicode for Py3. This is needed as a pre-processing step
      before calling csv reader/writer since it only supports Unicode for Py3.
  
      Args:
        x: The data to be converted.
  
      Returns:
        Unicode representation for Py3.
  
      """
      return tf.compat.as_str_any(x)
  
file_path: transform/tensorflow_transform/coders/csv_coder.py
imports: import csv
  import io
  import numpy
  import tensorflow
  from tensorflow_transform.tf_metadata import schema_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _to_string(x) and returns: tf