class_docstr: Class for sparse matrix.
class_docstr_tok: ["Class","for","sparse","matrix","."]
docstr: Returns the coordinate list (COO) representation of the sparse
  matrix.
  
  See `COO in Wikipedia <https://en.wikipedia.org/wiki/
  Sparse_matrix#Coordinate_list_(COO)>`_.
  
  Returns
  -------
  torch.Tensor
      Row coordinate
  torch.Tensor
      Column coordinate
  
  Examples
  --------
  
  >>> indices = torch.tensor([[1, 2, 1], [2, 4, 3]])
  >>> A = dglsp.spmatrix(indices)
  >>> A.coo()
  (tensor([1, 2, 1]), tensor([2, 4, 3]))
docstr_tok: ["Returns","the","coordinate","list","(","COO",")","representation","of","the","sparse","matrix",".","See","`","COO","in","Wikipedia","<","https",":","\/\/en.wikipedia.org\/wiki\/","Sparse_matrix","#","Coordinate_list_","(","COO",")",">","`","_",".","Returns","--","--","--","-","torch.Tensor","Row","coordinate","torch.Tensor","Column","coordinate","Examples","--","--","--","--",">",">",">","indices","=","torch.tensor","(","[","[","1",",","2",",","1","]",",","[","2",",","4",",","3","]","]",")",">",">",">","A","=","dglsp.spmatrix","(","indices",")",">",">",">","A.coo","(",")","(","tensor","(","[","1",",","2",",","1","]",")",",","tensor","(","[","2",",","4",",","3","]",")",")"]
code: def coo(self) -> Tuple[torch.Tensor, torch.Tensor]:
      r"""Returns the coordinate list (COO) representation of the sparse
      matrix.
  
      See `COO in Wikipedia <https://en.wikipedia.org/wiki/
      Sparse_matrix#Coordinate_list_(COO)>`_.
  
      Returns
      -------
      torch.Tensor
          Row coordinate
      torch.Tensor
          Column coordinate
  
      Examples
      --------
  
      >>> indices = torch.tensor([[1, 2, 1], [2, 4, 3]])
      >>> A = dglsp.spmatrix(indices)
      >>> A.coo()
      (tensor([1, 2, 1]), tensor([2, 4, 3]))
      """
      return self.c_sparse_matrix.coo()
  
imports: from typing import Optional, Tuple
  import torch
label_desc: Use image node_id 10 for calling the SparseMatrix obj's underlying member method code with example usage: obj.coo() and returns: self