(self, from_index: torch.Tensor)
| 145 | self.out_deg[from_idx] += 1 |
| 146 | |
| 147 | def project(self, from_index: torch.Tensor) -> torch.Tensor: |
| 148 | to_idx = self.edges[from_index].flatten() |
| 149 | return to_idx[to_idx >= 0] |
| 150 | |
| 151 | def serialize(self, prefix: str) -> dict[str, np.ndarray]: |
| 152 | return { |
nothing calls this directly
no outgoing calls
no test coverage detected