tf.compat.v1.flags.tf_decorator.make_decorator

View source on GitHub

Make a decorator from a wrapper and a target.

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

Args:

Returns:

The decorator_func argument with new metadata attached.