code: def _implements(scipy_func):
      """Decorator adds function to the dictionary of implemented functions"""
  
      def inner(func):
          _implemented[scipy_func] = func
          return func
  
      return inner
  
imports: from numbers import Number
  import warnings
  import numpy
  import cupy
  from cupy.fft._fft import _fft, _default_fft_func, hfft, ihfft, _swap_direction
label_desc: Use image node_id 3 for calling a global function with example usage: _implements(scipy_func) and returns: inner, func