Spec-Zone.ru › TensorFlow

tf.compat.v1.flags.override_value

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.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/compat/v1/flags/override_value

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API