tf.compat.v1.flags.set_default

Changes the default value of the provided flag object.

The flag's current value is also updated if the flag is currently using the default value, i.e. not specified in the command line, and not set by FLAGS.name = value.

flag_holderFlagHolder, the flag to modify.
valueThe new default value.

IllegalFlagValueErrorRaised when value is not valid.