class_docstr: Like `wrapt.ObjectProxy` except using our way.
class_docstr_tok: ["Like","`","wrapt.ObjectProxy","`","except","using","our","way","."]
code: def __action__(self, fn, *args, **kwargs):
      kwargs.pop("_action_name", None)
      self, args, kwargs = tf.nest.map_structure(
          lambda x: (  # pylint: disable=g-long-lambda
              x.__wrapped__
              if isinstance(x, ObjectProxy) and x.__unpack__
              else x
          ),
          [self, args, kwargs],
      )
      return fn(self, *args, **kwargs)
  
imports: import builtins
  import functools
  import math
  import operator
  import sys
  import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling the ObjectProxy obj's underlying member method code with example usage: obj.__action__(fn) and returns: fn