code: def register_unary_elementwise_api(func):
      """Decorator that registers a TensorFlow op as a unary elementwise API."""
      _UNARY_ELEMENTWISE_APIS.append(func)
      for args, handler in _ELEMENTWISE_API_HANDLERS.items():
          if len(args) == 1:
              _add_dispatch_for_unary_elementwise_api(
                  func, args[0], handler
              )
      return func
  
imports: import collections
  import itertools
  import typing
  from tensorflow.python.framework import _pywrap_python_api_dispatcher
  from tensorflow.python.framework import ops
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_export
  from tensorflow.python.util import tf_inspect
  from tensorflow.python.util import traceback_utils
  from tensorflow.python.util import type_annotations
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 21 for calling a global function with example usage: register_unary_elementwise_api(func) and returns: func