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]