Spec-Zone.ru › TensorFlow 2.4

tf.compat.v1.flags.tf_decorator.TFDecorator

Base class for all TensorFlow decorators.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.app.flags.tf_decorator.TFDecorator

tf.compat.v1.flags.tf_decorator.TFDecorator(
    decorator_name, target, decorator_doc='', decorator_argspec=None
)

TFDecorator captures and exposes the wrapped target, and provides details about the current decorator.

Attributes
decorated_target
decorator_argspec
decorator_doc
decorator_name

Methods

__call__

View source

__call__(
    *args, **kwargs
)

Call self as a function.

© 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.4/api_docs/python/tf/compat/v1/flags/tf_decorator/TFDecorator

Spec-Zone.ru

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