Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dmlc/dgl
/ __repr__
Method
__repr__
python/dgl/sparse/sparse_matrix.py:14–15 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
12
self.c_sparse_matrix = c_sparse_matrix
13
14
def
__repr__(self):
15
return
_sparse_matrix_str(self)
16
17
@property
18
def
val(self) -> torch.Tensor:
Callers
nothing calls this directly
Calls
1
_sparse_matrix_str
Function · 0.85
Tested by
no test coverage detected