Spec-Zone.ru › TensorFlow 2.4

tf.compat.v1.flags.tf_decorator.TFDecorator

Базовый класс для всех декораторов TensorFlow.

Просмотр псевдонимов

Псевдонимы совместимости для миграции

См. Руководство по миграции для получения дополнительных сведений.

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

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

Spec-Zone.ru

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