Abstract sample method. Parameters ---------- g : DGLGraph The graph. indices : object Any object representing the indices selected in the current minibatch.
(self, g, indices)
| 180 | """ |
| 181 | |
| 182 | def sample(self, g, indices): |
| 183 | """Abstract sample method. |
| 184 | |
| 185 | Parameters |
| 186 | ---------- |
| 187 | g : DGLGraph |
| 188 | The graph. |
| 189 | indices : object |
| 190 | Any object representing the indices selected in the current minibatch. |
| 191 | """ |
| 192 | raise NotImplementedError |
| 193 | |
| 194 | |
| 195 | class BlockSampler(Sampler): |
no outgoing calls