• Quan (Andy) Gan's avatar
    [Refactor] C random number generator (#729) · e9e587b6
    Quan (Andy) Gan authored
    * rng refactor
    
    * fix bugs
    
    * unit test
    
    * remove setsize
    
    * lint
    
    * fix test
    
    * use explicit instantiation instead of inlining
    
    * stricter test
    
    * use tvm solution
    
    * moved python interface to dgl.random
    
    * lint
    
    * address comments
    
    * make getthreadid an inline function
    e9e587b6
test_sampler.py 7.8 KB