tf.compat.v1.flags.tf_decorator.TFDecorator
Базовый класс для всех декораторов TensorFlow.
tf.compat.v1.flags.tf_decorator.TFDecorator(
decorator_name, target, decorator_doc='', decorator_argspec=None
)
TFDecorator получает и отображает обернутый целевой объект и предоставляет сведения о текущем декораторе.
| Атрибуты | |
|---|---|
decorated_target | |
decorator_argspec | |
decorator_doc | |
decorator_name | |
Методы
__call__
__call__(
*args, **kwargs
)
Вызов self как функции.
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/compat/v1/flags/tf_decorator/TFDecorator