code: def test_tfdecorator(decorator_name, decorator_doc=None):
      def make_tf_decorator(target):
          return tf_decorator.TFDecorator(
              decorator_name, target, decorator_doc
          )
  
      return make_tf_decorator
  
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 1 for calling a global function with example usage: test_tfdecorator(decorator_name, decorator_doc) and returns: make_tf_decorator, tf_decorator