code: def cusparseGetMatType(desc):
      """
      Gets the matrix type of the specified matrix.
  
      Parameters
      ----------
      desc : cusparseMatDescr
          Matrix descriptor.
  
      Returns
      -------
      type : int
          Matrix type.
  
      """
  
      return _libcusparse.cusparseGetMatType(desc)
  
imports: import atexit
  import ctypes.util
  import platform
  from string import Template
  import sys
  import warnings
  import numpy
  import cuda
label_desc: Use image node_id 9 for calling a global function with example usage: cusparseGetMatType(desc) and returns: _libcusparse