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