grf_gp.utils.csr module¶
- grf_gp.utils.csr.build_csr_from_entries(num_nodes: int, entries: defaultdict) Tensor¶
- grf_gp.utils.csr.to_sparse_csr(adjacency: Tensor) Tensor¶
Coerce input adjacency to a torch.sparse_csr_tensor.
Coerce input adjacency to a torch.sparse_csr_tensor.