code: def wrap_ret(compute_ret_ty):
      def wrapper(fn):
          def wrapped(*args, **kwargs):
              ret = fn(*args, **kwargs)
              return TensorHandle(
                  ret.data, compute_ret_ty(*args, **kwargs)
              )
  
          return wrapped
  
      return wrapper
  
imports: import inspect
  import numpy
  import triton
  import triton.language
  from .._C.libtriton import interpreter
label_desc: Use image node_id 2 for calling a global function with example usage: wrap_ret(compute_ret_ty) and returns: wrapper, wrapped, TensorHandle