Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pyg-team/pytorch_geometric
/ size
Method
size
torch_geometric/data/data.py:192–193 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
190
191
@overload
192
def
size(self) -> Tuple[Optional[int], Optional[int]]:
193
pass
194
195
@overload
196
def
size(self, dim: int) -> Optional[int]:
Callers
15
random_planetoid_splits
Function · 0.45
create_mask_per_rank
Function · 0.45
forward
Method · 0.45
forward
Method · 0.45
forward
Method · 0.45
num_graphs
Function · 0.45
forward
Method · 0.45
test_cat
Function · 0.45
test_to_dense
Function · 0.45
test_to_sparse_coo
Function · 0.45
test_to_sparse_csr
Function · 0.45
test_to_sparse_csc
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_cat
Function · 0.36
test_to_dense
Function · 0.36
test_to_sparse_coo
Function · 0.36
test_to_sparse_csr
Function · 0.36
test_to_sparse_csc
Function · 0.36
test_torch_sparse_spmm
Function · 0.36
test_torch_spmm
Function · 0.36
test_spmm
Function · 0.36
test_torch_script
Function · 0.36
test_compile_basic
Function · 0.36
test_cat
Function · 0.36
test_basic
Function · 0.36