1. 07 Aug, 2019 1 commit
    • Quan (Andy) Gan's avatar
      [NodeFlow] Non-uniform neighbor sampling (#711) · 16061925
      Quan (Andy) Gan authored
      * nonuniform sampler
      
      * unit test
      
      * test on out neighbors
      
      * error checks
      
      * lint
      
      * fix
      
      * clarification
      
      * use macro switcher
      
      * use empty array for uniform sampling
      
      * oops
      
      * Revert "oops"
      
      This reverts commit a11f9ae707aaeb67fb5921c887a17d3711d5b04a.
      
      * Revert "use empty array for uniform sampling"
      
      This reverts commit 8526ce4cade89f2c1b09a08aca8830375ebafb31.
      
      * re-reverting
      
      * use a method
      16061925
  2. 17 Jul, 2019 1 commit
    • Minjie Wang's avatar
      [Refactor] Separating graph and sparse matrix operations (#699) · b0d9e7aa
      Minjie Wang authored
      * WIP: array refactoring
      
      * WIP: implementation
      
      * wip
      
      * most csr part
      
      * WIP: on coo
      
      * WIP: coo
      
      * finish refactoring immutable graph
      
      * compiled
      
      * fix undefined ndarray copy bug; add COOToCSR when coo has no data array
      
      * fix bug in COOToCSR
      
      * fix bug in CSR constructor
      
      * fix bug in in_edges(vid)
      
      * fix OutEdges bug
      
      * pass test_graph
      
      * pass test_graph
      
      * fix bug in CSR constructor
      
      * fix bug in CSR constructor
      
      * fix bug in CSR constructor
      
      * fix stupid bug
      
      * pass gpu test
      
      * remove debug printout
      
      * fix lint
      
      * rm biparate grpah
      
      * fix lint
      
      * address comments
      
      * fix bug in Clone
      
      * cpp utests
      b0d9e7aa