code: def range_data_gen():
      def _generate(num_samps, endpoint=False):
          cpu_sig = np.arange(num_samps)
          gpu_sig = cp.asarray(cpu_sig)
  
          return cpu_sig, gpu_sig
  
      return _generate
  
file_path: cusignal/python/cusignal/test/conftest.py
imports: import cupy
  import numpy
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: range_data_gen() and returns: _generate, cpu_sig,  gpu_sig