code: def _int64_feature(value):
    
    if not isinstance(value, list):
      value = [value]
    return tf.train.Feature(int64_list=tf.train.Int64List(value=value))
docs: Wrapper for inserting int64 features into Example proto.