NOTES
API Reference
Converts a graph given by edge indices and edge attributes to a scipy sparse matrix.
edge_index – The edge indices.
edge_attr (tensor, optional) – Edge weights or multi-dimensional edge features. (default: None)
None
num_nodes (int, optional) – The number of nodes, i.e. max_val + 1 of index. (default: None)
max_val + 1
index