def read_images_from_disk(input_queue):
 label = input_queue[1]
 file_contents = tf.read_file(input_queue[0])
 example = tf.image.decode_png(file_contents, channels=3)
 return (example, label)

def read_images_from_disk ( input_queue ) : label = input_queue [ 1 ] file_contents = tf . read_file ( input_queue [ 0 ] ) example = tf . image . decode_png ( file_contents , channels = 3 ) return ( example , label )
consumes a single filename and label as a -delimited string .