Base class for all TensorFlow decorators.
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 |
__call__
__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