class_docstr: Sparse matrix object class in C++ backend.
docstr: Number of rows.
  
  Returns
  -------
  int
docstr_tok: ["Number","of","rows",".","Returns","--","--","--","-","int"]
code: def num_rows(self):
      """Number of rows.
  
      Returns
      -------
      int
      """
      return _CAPI_DGLSparseMatrixGetNumRows(self)
  
imports: from __future__ import absolute_import
  import ctypes
  import functools
  import operator
  import numpy
  from .None import backend
  from ._ffi.function import _init_api
  from ._ffi.ndarray import _set_class_ndarray, context, DGLContext, DGLDataType, empty, empty_shared_mem, from_dlpack, NDArrayBase, numpyasarray
  from ._ffi.object import ObjectBase, register_object
label_desc: Use image node_id 2 for calling the SparseMatrix obj's underlying member method code with example usage: obj.num_rows() and returns: _CAPI_DGLSparseMatrixGetNumRows