• Da Zheng's avatar
    [Feature] Reimplement Immutable graph index in DGL (#342) · 929742b5
    Da Zheng authored
    * init.
    
    * it's compiled.
    
    * add immutable graph constructor.
    
    * add immutable graph API.
    
    * fix.
    
    * impl get adjacency matrix.
    
    * fix.
    
    * fix graph_index from scipy matrix.
    
    * add neighbor sampling.
    
    * remap vertex ids.
    
    * fix.
    
    * move sampler test.
    
    * fix tests.
    
    * add comments
    
    * remove mxnet-specific immutable graph.
    
    * fix.
    
    * fix lint.
    
    * fix.
    
    * try to fix windows compile error.
    
    * fix.
    
    * fix.
    
    * add test.
    
    * unify Graph and ImmutableGraph.
    
    * fix bugs.
    
    * fix compile.
    
    * move immutable graph.
    
    * fix.
    
    * remove print.
    
    * fix lint.
    
    * fix
    
    * fix lint.
    
    * fix lint.
    
    * fix test.
    
    * fix comments.
    
    * merge GraphIndex and ImmutableGraphIndex.
    
    * temp fix.
    
    * impl GetAdj.
    
    * fix lint
    
    * fix.
    
    * fix.
    
    * fix.
    
    * fix.
    
    * fix.
    
    * use csr only for readonly graph.
    
    * Revert "use csr only for readonly graph."
    
    This reverts commit 8e24bb033af8504531b22849de5b7567b168e0d5.
    
    * remove code.
    
    * fix.
    
    * fix.
    
    * fix.
    
    * fix.
    
    * fix.
    
    * fix.
    
    * address comments.
    
    * fix for comments.
    
    * fix comments.
    
    * revert.
    
    * move test_graph_index to compute.
    
    * fix.
    
    * fix.
    
    * impl GetAdj for coo.
    
    * fix.
    
    * fix tests.
    
    * address comments.
    
    * address comments.
    
    * fix comment.
    
    * address comments.
    
    * use lambda.
    
    * other comments.
    
    * address comments.
    
    * modify the semantics of edges.
    
    * fix order.
    
    * use DGLIdIter
    
    * fix.
    
    * remove NotImplemented.
    
    * revert some code.
    929742b5
test_graph_index.py 5.77 KB