(value)
return tf.train.Feature(float_list=tf.train.FloatList(value=value))
Wrapper for inserting float features into Example proto.
Wrapper for inserting float features into Example proto.
Wrapper for inserting float features into Example proto .
def float_feature(value):
    """Wrapper for inserting float features into Example proto.
    """
    if not isinstance(value, list):
        value = [value]
    return tf.train.Feature(float_list=tf.train.FloatList(value=value))
def float_feature ( value ) : if not isinstance ( value , list ) : value = [ value ] return tf . train . Feature ( float_list = tf . train . FloatList ( value = value ) )