code: def testRewrapOfDecoratorFunction(self):
      @test_injectable_decorator_square
      @test_injectable_decorator_increment
      def test_rewrappable_decorated(x):
          return x * 2
  
      def new_target(x):
          return x * 3
  
      prev_target = (
          test_rewrappable_decorated._tf_decorator._decorated_target
      )
      # In this case, only the outer decorator (test_injectable_decorator_square)
      # should be preserved.
      tf_decorator.rewrap(
          test_rewrappable_decorated, prev_target, new_target
      )
      self.assertEqual((1 * 3) ** 2, test_rewrappable_decorated(1))
  
imports: import functools
  import inspect
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 2 for calling the TfDecoratorRewrapTest obj's underlying member method code with example usage: obj.testRewrapOfDecoratorFunction() and returns: unknown, unknown