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))
Returns an int64_list from a bool / enum / int / uint.
data/create_tfrecords.py