Overrides the value of the provided flag.
tf.compat.v1.flags.override_value(
flag_holder: _flagvalues.FlagHolder[_T], value: _T
) -> None
This value takes precedent over the default value and, when called after flag parsing, any value provided at the command line.
Args | |
---|---|
flag_holder
|
FlagHolder, the flag to modify. |
value
|
The new value. |
Raises | |
---|---|
IllegalFlagValueError
|
The value did not pass the flag parser or validators. |