code: def _get_dtype(dtype):
      """Return np.complex128 for complex dtypes, np.float64 otherwise."""
      if cupy.issubdtype(dtype, cupy.complexfloating):
          return cupy.complex_
      else:
          return cupy.float_
  
file_path: cupy/cupyx/scipy/interpolate/_bspline2.py
imports: import operator
  from numpy.core.multiarray import normalize_axis_index
  import cupy
  from cupyx.scipy import sparse
  from cupyx.scipy.sparse.linalg import spsolve
  from cupyx.scipy.interpolate._bspline import _get_module_func, INTERVAL_MODULE, D_BOOR_MODULE, BSpline
label_desc: Use image node_id 1 for calling a global function with example usage: _get_dtype(dtype) and returns: cupy, cupy