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