Commit ad228bb
Minor refactor for temporal sampling (#257)
* disable undirected for temporal sampling
* disjoint sampling for temporal
* fix repeated node index
* compile fix
* Update csrc/cpu/neighbor_sample_cpu.cpp
Co-authored-by: Zecheng Zhang <[email protected]>
* Update csrc/cpu/neighbor_sample_cpu.cpp
Co-authored-by: Zecheng Zhang <[email protected]>
* Update csrc/cpu/neighbor_sample_cpu.cpp
Co-authored-by: Zecheng Zhang <[email protected]>
* comments on directed to be true
* add directed in API
* comments
* minor function signature fix
* Update csrc/cpu/neighbor_sample_cpu.cpp
* Update csrc/neighbor_sample.cpp
* minor refactor
* minor refactor
Co-authored-by: Zecheng Zhang <[email protected]>
Co-authored-by: Matthias Fey <[email protected]>1 parent d670cdd commit ad228bb
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | | - | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| 275 | + | |
274 | 276 | | |
275 | 277 | | |
276 | 278 | | |
277 | | - | |
| 279 | + | |
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
| |||
305 | 307 | | |
306 | 308 | | |
307 | 309 | | |
| 310 | + | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
311 | | - | |
| 314 | + | |
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
| |||
431 | 434 | | |
432 | 435 | | |
433 | 436 | | |
434 | | - | |
| 437 | + | |
435 | 438 | | |
436 | 439 | | |
437 | 440 | | |
| |||
0 commit comments