Spec-Zone.ru › TensorFlow

tf.compat.v1.flags.adopt_module_key_flags

Declares that all flags key to a module are key to the current module.

tf.compat.v1.flags.adopt_module_key_flags(
    module: Any,
    flag_values: tf.compat.v1.flags.FlagValues = _flagvalues.FLAGS
) -> None
Args
module module, the module object from which all key flags will be declared as key flags to the current module.
flag_values :class:FlagValues, the FlagValues instance in which the flags will be declared as key flags. This should almost never need to be overridden.
Raises
Error Raised when given an argument that is a module name (a string), instead of a module object.

© 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/adopt_module_key_flags

Spec-Zone.ru

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