tf.compat.v1.flags.tf_decorator.unwrap
Unwraps an object into a list of TFDecorators and a final target.
tf.compat.v1.flags.tf_decorator.unwrap(
maybe_tf_decorator
)
Args |
maybe_tf_decorator
|
Any callable object.
|
Returns |
A tuple whose first element is an list of TFDecorator-derived objects that
were applied to the final callable target, and whose second element is the
final undecorated callable target. If the maybe_tf_decorator parameter is
not decorated by any TFDecorators, the first tuple element will be an empty
list. The TFDecorator list is ordered from outermost to innermost
decorators.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]