code: def det(a):
      r"""
      Compute the determinant of an array.
  
      Parameters
      ----------
      a : (..., M, M) ndarray
          Input array to compute determinants for.
  
      Returns
      -------
      det : (...) ndarray
          Determinant of `a`.
  
      See Also
      --------
      slogdet : Another way to represent the determinant, more suitable
      for large matrices where underflow/overflow may occur.
  
      Notes
      -----
      Broadcasting rules apply, see the `numpy.linalg` documentation for
      details.
      The determinant is computed via LU factorization using the LAPACK
      routine z/dgetrf.
  
      Examples
      --------
      The determinant of a 2-D array [[a, b], [c, d]] is ad - bc:
      >>> a = np.array([[1, 2], [3, 4]])
      >>> np.linalg.det(a)
      -2.0
  
      Computing determinants for a stack of matrices:
      >>> a = np.array([ [[1, 2], [3, 4]], [[1, 2], [2, 1]], [[1, 3], [3, 1]] ])
      >>> a.shape
      (3, 2, 2)
  
      >>> np.linalg.det(a)
      array([-2., -3., -8.])
      """
      return _api_internal.det(a)
  
file_path: mxnet/python/mxnet/ndarray/numpy/linalg.py
imports: import numpy
  from .None import _op
  from .None import _api_internal
label_desc: Use image node_id 9 for calling a global function with example usage: det(a) and returns: _api_internal