code: def _bytes_feature(value):
      """Wrapper for inserting a bytes Feature into a SequenceExample proto,
      e.g, an image in byte
      """
      # return tf.train.Feature(bytes_list=tf.train.BytesList(value=[str(value)]))
      return tf.train.Feature(
          bytes_list=tf.train.BytesList(value=[value])
      )
  
file_path: TensorLayer/examples/data_process/tutorial_tfrecord3.py
imports: import json
  import os
  import numpy
  import tensorflow
  from PIL import Image
  import tensorlayer
label_desc: Use image node_id 2 for calling a global function with example usage: _bytes_feature(value) and returns: tf