1. 14 Nov, 2018 2 commits
    • Da Zheng's avatar
      [API] Subgraph sampling API. (#138) · 2389df81
      Da Zheng authored
      * add neighbor sampler.
      
      * fix sampler.
      
      * handle non-existing nodes differently in MapParentIdToSubgraphId.
      
      * fix sampling tests.
      
      * parallelize sampling.
      
      * add more tests.
      
      * fix a bug in subgraph loader.
      
      * get number of sampled nodes directly.
      
      * load mxnet CSR to DGLGraph directly.
      
      * create graph from mxnet csr array directly.
      
      * use subgraph loader in SSE.
      
      * fix a bug in sampling.
      
      * output framework tensor.
      
      * fix.
      
      * remove unnecessary code.
      
      * fix tests.
      
      * add SSE README.
      
      * move to contrib.
      
      * address comments.
      
      * add tests.
      2389df81
    • Minjie Wang's avatar
      [GraphIndex] refactor graph caching (#150) · 048f6d7a
      Minjie Wang authored
      * refactor graph caching
      
      * fix mx test
      
      * fix typo
      048f6d7a
  2. 08 Nov, 2018 1 commit
    • Da Zheng's avatar
      [MXNet][API] move to the new API (#123) · bd0e4fa0
      Da Zheng authored
      * move gat to the new api.
      
      * fix gcn.
      
      * update sse.
      
      * fix dgl core.
      
      * update sse.
      
      * fix small bugs in dgl core.
      
      * fix mxnet tests.
      
      * retrigger
      
      * address comments and fix more bugs.
      
      * fix
      
      * fix tests.
      bd0e4fa0
  3. 05 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [Backend] backend interface (#109) · 7241a9c0
      Minjie Wang authored
      * backend interface
      
      * small fix
      
      * more comments to the data type dict
      
      * WIP
      
      * convert_to and narrow
      
      * WIP
      
      * pytorch and numpy backend; WIP on mxnet backend
      
      * mxnet backend
      
      * narrow
      
      * Fix all usages
      
      * fix for mx
      
      * fix for mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * revert jenkins
      
      * add sparse_matrix api
      
      * sparse matrix api
      
      * some fixme
      
      * Fix as requested
      7241a9c0
  4. 02 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [API][Doc] API change & basic tutorials (#113) · 68ec6247
      Minjie Wang authored
      * Add SH tutorials
      
      * setup sphinx-gallery; work on graph tutorial
      
      * draft dglgraph tutorial
      
      * update readme to include document url
      
      * rm obsolete file
      
      * Draft the message passing tutorial
      
      * Capsule code (#102)
      
      * add capsule example
      
      * clean code
      
      * better naming
      
      * better naming
      
      * [GCN]tutorial scaffold
      
      * fix capsule example code
      
      * remove previous capsule example code
      
      * graph struc edit
      
      * modified:   2_graph.py
      
      * update doc of capsule
      
      * update capsule docs
      
      * update capsule docs
      
      * add msg passing prime
      
      * GCN-GAT tutorial Section 1 and 2
      
      * comment for API improvement
      
      * section 3
      
      * Tutorial API change (#115)
      
      * change the API as discusses; toy example
      
      * enable the new set/get syntax
      
      * fixed pytorch utest
      
      * fixed gcn example
      
      * fixed gat example
      
      * fixed mx utests
      
      * fix mx utest
      
      * delete apply edges; add utest for update_edges
      
      * small change on toy example
      
      * fix utest
      
      * fix out in degrees bug
      
      * update pagerank example and add it to CI
      
      * add delitem for dataview
      
      * make edges() return form that is compatible with send/update_edges etc
      
      * fix index bug when the given data is one-int-tensor
      
      * fix doc
      68ec6247
  5. 26 Oct, 2018 2 commits
    • Da Zheng's avatar
      [GraphIndex] Immutable graph index using MXNet CSRArray (#86) · 9e9a9488
      Da Zheng authored
      * add immutable graph index.
      
      * update ImmutableGraphIndex.
      
      * add benchmarks of subgraph generation.
      
      * fix node_subgraphs.
      
      * use scipy synthetic data in immutable graph.
      
      * create immutable_graph.
      
      * use spmv in gcn.
      
      * fix immutable graph index.
      
      * update graph index.
      
      * create ImmutableSubgraphIndex.
      
      * return subgraph node and edge mapping.
      
      * fix benchmark.
      
      * add mapping to subgraph nid.
      
      * test in_edges and out_edges.
      
      * update benchmark.
      
      * Fix immutable subgraph.
      
      * complete in_edges and out_edges.
      
      * fix benchmarks.
      
      * add test on node_subgraphs
      
      * add sse.
      
      * construct subgraphs in parallel.
      
      * add in/out degree(s).
      
      * make immutable graph index backend-specific.
      
      * implement has_edge(s) and edge_id(s).
      
      * Revert "use spmv in gcn."
      
      This reverts commit 9cfed5f5fb3dd2ed9b98745348b1c0e9731ed7f7.
      
      * implement node_subgraphs in GraphIndex.
      
      * fix sse.
      
      * address comments.
      
      * address comments.
      
      * Update mxnet docker.
      9e9a9488
    • Da Zheng's avatar
      [CI] Enable mxnet CI. (#105) · 0d6cd30b
      Da Zheng authored
      * fix tests.
      
      * enable mxnet CI.
      
      * add mxnet tests.
      
      * update jenkins.
      
      * update mxnet docker image.
      0d6cd30b
  6. 18 Oct, 2018 1 commit
  7. 14 Oct, 2018 1 commit
    • Da Zheng's avatar
      [BACKEND] Add MXNet backend. (#77) · 5567f4a4
      Da Zheng authored
      * support mxnet.
      
      * add mxnet version of GCN.
      
      * rename mxnet.nd as F.
      
      * add mxnet GAT.
      
      * enable GPU for GCN.
      
      * fix MXNet GCN train.
      
      * Use adam to optimize GAT
      
      * support more operators.
      
      * support sparse arrays.
      
      * update mxnet backend.
      
      * support index_copy.
      
      * remove NN.
      
      * update mxnet backend.
      
      * temp check in.
      
      * fix data conversion.
      
      * add test.
      
      * clean up mxnet backend.
      
      * update mxnet examples.
      
      * Revert "remove NN."
      
      This reverts commit d815d9a0ec619f9ce9099c48cd35db9d8e947483.
      
      * temp disable MXNet version of NN.
      5567f4a4