Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.compat.v1.flags.tf_decorator.TFDecorator

View source on GitHub

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

Methods

__call__

View source

__call__(
    *args, **kwargs
)

Call self as a function.