How to access all flags and get their values using loop in Tensorflow?
For tensorflow 1.5 you can use tf.app.flags.FLAGS.flag_values_dict()
they have changed the flags library one more time
Looking at the source, it appears the API doesn't support it directly. If you need a hack, you can use tf.flags.FLAGS.__flags
to get the dictionary.