I am reading some example codes in Tensorflow, I found following code
flags = tf.app.flags FLAGS = flags.FLAGS flags.DEFINE_float(\'learning_rate\', 0.01, \
At Google, they use flag systems to set default values for arguments. It's similar to argparse. They use their own flag system instead of argparse or sys.argv.
Source: I worked there before.