code: def wrap(function):
      """Wrap a function to first convert args to arrays."""
  
      def wrapped_function(*args, **kwargs):
          new_args = map(gs.from_numpy, args)
          return function(*new_args, **kwargs)
  
      return wrapped_function
  
imports: from sklearn.neighbors import KNeighborsClassifier
  import geomstats.backend
label_desc: Use image node_id 1 for calling a global function with example usage: wrap(function) and returns: wrapped_function, function