DGL blocks extracted from `MiniBatch` containing graphical structures and ID mappings.
(self)
| 170 | |
| 171 | @property |
| 172 | def blocks(self) -> list: |
| 173 | """DGL blocks extracted from `MiniBatch` containing graphical structures |
| 174 | and ID mappings. |
| 175 | """ |
| 176 | if not self.sampled_subgraphs: |
| 177 | return None |
| 178 | |
| 179 | if self._blocks is None: |
| 180 | self._blocks = self.compute_blocks() |
| 181 | return self._blocks |
| 182 | |
| 183 | def compute_blocks(self) -> list: |
| 184 | """Extracts DGL blocks from `MiniBatch` to construct graphical |
nothing calls this directly
no test coverage detected