code: def to_string(value):
      value = [value] if not isinstance(value, list) else value
      value = [v.encode("utf-8") for v in value]
      return tf.train.Feature(
          bytes_list=tf.train.BytesList(value=value)
      )
  
file_path: luminoth/luminoth/utils/dataset.py
imports: import tensorflow
  from lxml import etree
label_desc: Use image node_id 6 for calling a global function with example usage: to_string(value) and returns: tf