dgl.sparse.SparseMatrix.shape

property SparseMatrix.shape

Returns the shape of the sparse matrix.

Returns

The shape of the sparse matrix

Return type

Tuple[int]