code: def det(a):
      """Returns the determinant of an array.
  
      Args:
          a (cupy.ndarray): The input matrix with dimension ``(..., N, N)``.
  
      Returns:
          cupy.ndarray: Determinant of ``a``. Its shape is ``a.shape[:-2]``.
  
      .. seealso:: :func:`numpy.linalg.det`
      """
      sign, logdet = slogdet(a)
      return sign * cupy.exp(logdet)
  
file_path: cupy/cupy/linalg/_norms.py
imports: import numpy
  import cupy
  from cupy import _core
  from cupy.linalg import _decomposition
  from cupy.linalg import _util
  import functools
label_desc: Use image node_id 3 for calling a global function with example usage: det(a) and returns: unknown