text: """
  """
  import tensorflow as tf
  
  
  def _bytes_feature(value):
      """Returns a bytes_list from a string / byte."""
      if isinstance(value, type(tf.constant(0))):
          # BytesList won't unpack a string from an EagerTensor.
          value = value.numpy()
      return tf.train.Feature(bytes_list=tf.train.BytesList(value=[value]))
  
  
  def _float_feature(value):
      """Returns a float_list from a float / double."""
      return tf.train.Feature(float_list=tf.train.FloatList(value=[value]))
  
  
  def _int64_feature(value):
      """Returns an int64_list from a bool / enum / int / uint."""
      return tf.train.Feature(int64_list=tf.train.Int64List(value=[value]))
  