class_docstr: COOrdinate format sparse matrix.
  
  This can be instantiated in several ways.
  
  ``coo_matrix(D)``
      ``D`` is a rank-2 :class:`cupy.ndarray`.
  
  ``coo_matrix(S)``
      ``S`` is another sparse matrix. It is equivalent to ``S.tocoo()``.
  
  ``coo_matrix((M, N), [dtype])``
      It constructs an empty matrix whose shape is ``(M, N)``. Default dtype
      is float64.
  
  ``coo_matrix((data, (row, col)))``
      All ``data``, ``row`` and ``col`` are one-dimenaional
      :class:`cupy.ndarray`.
  
  Args:
      arg1: Arguments for the initializer.
      shape (tuple): Shape of a matrix. Its length must be two.
      dtype: Data type. It must be an argument of :class:`numpy.dtype`.
      copy (bool): If ``True``, copies of given data are always used.
  
  .. seealso::
     :class:`scipy.sparse.coo_matrix`
class_docstr_tok: ["COOrdinate","format","sparse","matrix",".","This","can","be","instantiated","in","several","ways",".","``","coo_matrix","(","D",")","``","``","D","``","is","a","rank-2",":","class",":","`","cupy.ndarray","`",".","``","coo_matrix","(","S",")","``","``","S","``","is","another","sparse","matrix",".","It","is","equivalent","to","``","S.tocoo","(",")","``",".","``","coo_matrix","(","(","M",",","N",")",",","[","dtype","]",")","``","It","constructs","an","empty","matrix","whose","shape","is","``","(","M",",","N",")","``",".","Default","dtype","is","float64",".","``","coo_matrix","(","(","data",",","(","row",",","col",")",")",")","``","All","``","data","``",",","``","row","``","and","``","col","``","are","one-dimenaional",":","class",":","`","cupy.ndarray","`",".","Args",":","arg1",":","Arguments","for","the","initializer",".","shape","(","tuple",")",":","Shape","of","a","matrix",".","Its","length","must","be","two",".","dtype",":","Data","type",".","It","must","be","an","argument","of",":","class",":","`","numpy.dtype","`",".","copy","(","bool",")",":","If","``","True","``",",","copies","of","given","data","are","always","used",".","..","seealso",":",":",":","class",":","`","scipy.sparse.coo_matrix","`"]
docstr: Returns the shape of the matrix.
  
  Returns:
      tuple: Shape of the matrix.
docstr_tok: ["Returns","the","shape","of","the","matrix",".","Returns",":","tuple",":","Shape","of","the","matrix","."]
code: def get_shape(self):
      """Returns the shape of the matrix.
  
      Returns:
          tuple: Shape of the matrix.
      """
      return self._shape
  
imports: import numpy
  import cupy
  from cupy import _core
  from cupyx.scipy.sparse import _base
  from cupyx.scipy.sparse import _csc
  from cupyx.scipy.sparse import _csr
  from cupyx.scipy.sparse import _data
  from cupyx.scipy.sparse import _util
  from cupyx.scipy.sparse import _sputils
label_desc: Use image node_id 6 for calling the coo_matrix obj's underlying member method code with example usage: obj.get_shape() and returns: self