• 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
common.h 4.73 KB