1. 08 Mar, 2019 3 commits
  2. 07 Mar, 2019 1 commit
    • Da Zheng's avatar
      [Perf] Accelerate block_compute when all nodes are invoked. (#434) · 8651be54
      Da Zheng authored
      * refactor.
      
      * accelerate update_all in nodeflow.
      
      * fix.
      
      * refactor.
      
      * fix lint.
      
      * fix lint.
      
      * reorganize.
      
      * reorg.
      
      * remove.
      
      * add doc.
      
      * impl block_incidence_matrix
      
      * fix lint.
      
      * fix.
      
      * simple fix.
      
      * fix test.
      
      * fix interface.
      
      * fix eid.
      
      * fix comments.
      8651be54
  3. 05 Mar, 2019 1 commit
    • Minjie Wang's avatar
      [Refactor] Nodeflow, sampling, CAPI (#430) · ca2a7e1c
      Minjie Wang authored
      * enable cython
      
      * add helper function and data structure for void_p vector return
      
      * move sampler from graph index to contrib.sampling
      
      * WIP
      
      * WIP
      
      * refactor layer sampling
      
      * pass tests
      
      * fix lint
      
      * fix graphsage
      
      * remove comments
      
      * pickle test
      
      * fix comments
      
      * update dev guide for cython build
      ca2a7e1c
  4. 04 Mar, 2019 1 commit
  5. 03 Mar, 2019 1 commit
    • GaiYu0's avatar
      [Feature]Uniform layer-wise sampler (#416) · fb4246e5
      GaiYu0 authored
      * migrate to node-flow
      
      * uniform layer sampler test cases
      
      * more test cases
      
      * documentations
      
      * fix lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * iota
      
      * add asnumpy
      
      * requested changes
      
      * fix indptr error
      
      * fix lint errors
      
      * requested changes & fix lint errors
      
      * fix lint errors
      
      * fix LayerSampler unit test
      fb4246e5
  6. 02 Mar, 2019 2 commits
  7. 01 Mar, 2019 1 commit
  8. 28 Feb, 2019 2 commits
  9. 27 Feb, 2019 1 commit
    • Zihao Ye's avatar
      [Feature] FindEdge/FindEdges for Immutable Graph (#404) · 724aa0ca
      Zihao Ye authored
      * fix rgcn tutorial
      
      * small fix
      
      * upd
      
      * findedge/s
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * add test
      
      * remove redundancy
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * add edge_subgraph
      
      * explicit cast
      
      * add test immutable subg
      
      * reformat
      
      * reformat
      
      * fix bug
      
      * upd
      724aa0ca
  10. 26 Feb, 2019 1 commit
  11. 25 Feb, 2019 1 commit
    • Minjie Wang's avatar
      [WIP] [NN] Refactor NN package (#406) · 565f0c88
      Minjie Wang authored
      * refactor graph conv
      
      * docs & tests
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * fix lint script
      
      * fix lint
      
      * Update
      
      * Style fix
      
      * Fix style
      
      * Fix style
      
      * Fix gpu case
      
      * Fix for gpu case
      
      * Hotfix edgesoftmax docs
      
      * Handle repeated features
      
      * Add docstring
      
      * Set default arguments
      
      * Remove dropout from nn.conv
      
      * Fix
      
      * add util fn for renaming
      
      * revert gcn_spmv.py
      
      * mx folder
      
      * fix wierd bug
      
      * fix mx
      
      * fix lint
      565f0c88
  12. 20 Feb, 2019 2 commits
    • Zihao Ye's avatar
      [Feature] Add switch readonly state interface (#389) · bfe3e9d6
      Zihao Ye authored
      * fix rgcn tutorial
      
      * small fix
      
      * add switch readonly state interface
      
      * remove trailing ws
      
      * fix
      
      * fix
      
      * change signature
      
      * change signature
      
      * remove trailing ws
      
      * upd
      
      * upd interface
      
      * upd
      
      * rm trailing ws
      
      * reformat
      
      * trailing space
      
      * upd
      bfe3e9d6
    • Quan (Andy) Gan's avatar
      [Feature] Random walk traces generation (#392) · 2e1cbd5d
      Quan (Andy) Gan authored
      * random walk traces generation
      
      * remove outdated comments
      
      * oops put in the wrong place
      
      * explicit inline
      
      * moving rand_r to util
      
      * moving random walk to public function
      
      * per-thread seed and openmp support
      
      * type cast styles
      2e1cbd5d
  13. 19 Feb, 2019 2 commits
    • Da Zheng's avatar
      [Feature] add NodeFlow API (#361) · f370e628
      Da Zheng authored
      * sample layer subgraphs.
      
      * fix.
      
      * fix.
      
      * add layered subgraph.
      
      * fix lint.
      
      * fix.
      
      * fix tutorial.
      
      * fix.
      
      * remove copy_to_parent.
      
      * add num_layers
      
      * move sampling code to sampler.cc
      
      * fix.
      
      * move subgraph construction out.
      
      * Revert "move subgraph construction out."
      
      This reverts commit 24b3d13b0d8ed5f91847ea75a7674ee8f7d45cff.
      
      * change to NodeFlow.
      
      * use NodeFlow in Python.
      
      * use NodeFlowIndex.
      
      * add node_mapping and edge_mapping.
      
      * remove unnecessary code in SSE tutorial.
      
      * Revert "remove unnecessary code in SSE tutorial."
      
      This reverts commit 093f0413d5fa2e63ca5f80c46c80a126a9fb720c.
      
      * fix tutorial.
      
      * move to node_flow.
      
      * update gcn cv updater.
      
      * import NodeFlow.
      
      * update.
      
      * add demo code for vanilla control variate sampler.
      
      * update.
      
      * update.
      
      * add neighbor sampling.
      
      * return flow offsets.
      
      * update node_flow.
      
      * add test.
      
      * fix sampler.
      
      * fix graph index.
      
      * fix a bug in sampler.
      
      * fix map_to_layer_nid and map_to_flow_eid.
      
      * fix apply_flow.
      
      * remove model code.
      
      * implement flow_compute.
      
      * fix a bug.
      
      * reverse the csr physically.
      
      * add mini-batch test.
      
      * add mini batch test.
      
      * update flow_compute.
      
      * add prop_flows
      
      * run on specific nodes.
      
      * test copy
      
      * fix a bug in creating frame in NodeFlow.
      
      * add init gcn_cv_updater.
      
      * fix a minor bug.
      
      * fix gcn_cv_updater.
      
      * fix a bug.
      
      * fix a bug in NodeFlow.
      
      * use new h in gcn_cv_updater.
      
      * add layer_in_degree and layer_out_degree.
      
      * fix gcn_cv_updater for gpu.
      
      * temp fix in NodeFlow for diff context.
      
      * allow enabling/disabling copy back.
      
      * add with-updater option.
      
      * fix a bug in computing degree.
      
      * add with-cv option.
      
      * rename and add comments.
      
      * fix lint complain.
      
      * fix lint.
      
      * avoid assert.
      
      * remove assert.
      
      * fix.
      
      * fix.
      
      * fix.
      
      * fix.
      
      * fix the methods in NodeFlow.
      
      * fix lint.
      
      * update SSE.
      
      * remove gcn_cv_updater.
      
      * correct comments for the schedulers.
      
      * update comment.
      
      * add map_to_nodeflow_nid
      
      * address comment.
      
      * remove duplicated test.
      
      * fix int.
      
      * fix comments.
      
      * fix lint
      
      * fix.
      
      * replace subgraph with NodeFlow.
      
      * move view.
      
      * address comments.
      
      * fix lint.
      
      * fix lint.
      
      * remove static_cast.
      
      * fix docstring.
      
      * fix comments.
      
      * break SampleSubgraph.
      
      * move neighbor sampling to sampler.cc
      
      * fix comments.
      
      * rename.
      
      * split neighbor_list.
      
      * address comments.
      
      * fix.
      
      * remove TODO.
      f370e628
    • Quan (Andy) Gan's avatar
      [BUG] Fixing bug in pickling readonly graphs (#397) · 220a1e68
      Quan (Andy) Gan authored
      * fixing bug in pickling readonly graphs
      
      * multigraph test coverage
      
      * fixing lint (??????)
      
      * another lint
      
      * is_readonly interface
      220a1e68
  14. 17 Feb, 2019 1 commit
    • Hao Zhang's avatar
      [Model]PPI dataloader and inductive learning script. (#395) · 788d8dd4
      Hao Zhang authored
      * Create ppi.py
      
      * Create train_ppi.py
      
      * Update train_ppi.py
      
      * Update train_ppi.py
      
      * Create gat.py
      
      * Update train.py
      
      * Update train_ppi.py
      
      * Update ppi.py
      
      * Update train_ppi.py
      
      * Update ppi.py
      
      * Update train_ppi.py
      
      * Update train_ppi.py
      
      * Update ppi.py
      
      * Update train_ppi.py
      
      * update docs and readme
      788d8dd4
  15. 13 Feb, 2019 1 commit
  16. 08 Feb, 2019 1 commit
  17. 03 Feb, 2019 1 commit
    • VoVAllen's avatar
      [Feature] Edge Group Apply API (#358) · 5b9147c4
      VoVAllen authored
      * add rtfd
      
      * rrr
      
      * update
      
      * change env
      
      * temp fix
      
      * update
      
      * fix
      
      * fix
      
      * add
      
      * conf
      
      * Move file_pattern from Makefile to conf.py
      
      * remove yml
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * remove yml
      
      * remove yml
      
      * add doc docker
      
      * add dgl install script
      
      * change name
      
      * change dockerfile
      
      * fix
      
      * name
      
      * add
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix docker
      
      * delete sphinx.py for doc-build backend
      
      * Add softmax to test backend
      
      * Add group apply function and tests
      
      * Delete unnecessary file
      
      * Update comments and test
      
      * Fix lint
      
      * remove unused bucketing code
      
      * group apply edge bucketing code
      
      * gen degree bucket schedule for group apply edge
      
      * schedule and graph code
      
      * fix compiling
      
      * fix
      
      * fix lint
      
      * naming
      
      * harder test case
      
      * fix comments
      
      * more comments
      
      * tweak function name
      5b9147c4
  18. 25 Jan, 2019 3 commits
  19. 17 Jan, 2019 1 commit
    • 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
  20. 13 Jan, 2019 1 commit
  21. 12 Jan, 2019 1 commit
    • Minjie Wang's avatar
      [Bugfix] Fix gat residual bug (#355) · ddc2faa5
      Minjie Wang authored
      * fix gat residual bug
      
      * fix the residual addition; output heads; add some shape notations;
      
      * minor
      
      * fix the output head average
      
      * add requests package in requirement
      ddc2faa5
  22. 11 Jan, 2019 1 commit
  23. 10 Jan, 2019 2 commits
  24. 06 Jan, 2019 1 commit
    • Quan (Andy) Gan's avatar
      [Test] Unify tests for different backends (#333) · e19cd62e
      Quan (Andy) Gan authored
      * test basics
      
      * batched graph & filter, mxnet filter fix
      
      * frame and function; bugfix
      
      * test graph adj and inc matrices
      
      * fixing start = 0 for mxnet
      
      * test index
      
      * inplace update & line graph
      
      * multi send recv
      
      * more tests
      
      * oops
      
      * more tests
      
      * removing old test files; readonly graphs for mxnet still kept
      
      * modifying test scripts
      
      * adding a placeholder for pytorch to reserve directory
      
      * torch 0.4.1 compat fixes
      
      * moving backend out of compute to avoid nose detection
      
      * tests guide
      
      * mx sparse-to-dense/sparse-to-numpy is buggy
      
      * oops
      
      * contribution guide for unit tests
      
      * printing incmat
      
      * printing dlpack
      
      * small push
      
      * typo
      
      * fixing duplicate entries that causes undefined behavior
      
      * move equal comparison to backend
      e19cd62e
  25. 04 Jan, 2019 1 commit
    • Mufei Li's avatar
      [Feature] Reversed Graph and Transform Module (#331) · 24bbdb74
      Mufei Li authored
      * reverse a graph
      
      * Reverse a graph
      
      * Fix
      
      * Revert "Fix"
      
      This reverts commit 1728826b4f3a083b76dfc0fdecd2bbf943a971b2.
      
      * Fix
      
      * Fix
      
      * Delete vcs.xml
      
      * Delete Project_Default.xml
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Remove outdated test
      
      * Reorg transform and update reverse (#2)
      
      * Reorg transform and update reverse
      
      * Fix doc and test
      
      * Update test
      
      * Resolve conflict
      
      * CI oriented fix
      
      * Remove outdated import
      
      * Fix import
      
      * Fix import
      
      * define __all__ for wildcard imports
      
      * Fix import
      
      * Address circular imports
      
      * Fix
      
      * Fix test case
      
      * Fix
      
      * Fix
      
      * Remove unused import
      
      * Fix
      
      * Fix
      
      * Fix
      24bbdb74
  26. 01 Jan, 2019 1 commit
    • Minjie Wang's avatar
      [Lint] Pylint (#330) · 4bd4d6e3
      Minjie Wang authored
      * fix lint for graph_index.py
      
      * pylint for base.py
      
      * pylint for batched_graph.py
      
      * pylint for frame.py; simplify and fix bugs in frame when index is slice type
      
      * pylint for graph.py
      
      * pylint for immutable_graph_index.py
      
      * pylint for init.py
      
      * pylint for rest files in root package
      
      * pylint for _ffi package
      
      * pylint for function package
      
      * pylint for runtime package
      
      * pylint for runtime.ir package
      
      * add pylint to ci
      
      * fix mx tests
      
      * fix lint errors
      
      * fix ci
      
      * fix as requested
      
      * fix lint
      4bd4d6e3
  27. 24 Dec, 2018 1 commit
    • Lingfan Yu's avatar
      [Bugfix] Fix multiple send recv (#320) · 2664ed2d
      Lingfan Yu authored
      * fix bug: frame append should check itself
      
      * more test case
      
      * fix multi-send-recv bug
      
      * remv msg graph and clean up
      
      * test cases
      
      * more test case
      
      * fix for batchedgraph
      
      * fix bugs: converting from a graph with edges
      
      * fix
      
      * add more operators to utils.Index
      
      * clear frame executor
      
      * change message indicator to a graph level index
      
      * fix test cases
      
      * guard the case that mxnet does not support concat zero shape tensor
      
      * fix bug: avoid convert full slice to numpy
      
      * test multi-send-recv after conversion
      
      * fix as request (partially)
      
      * add dtype, ctx to full_1d
      
      * add slice data to utils.Index
      
      * fix
      
      * more doc string
      
      * fix as requested
      2664ed2d
  28. 17 Dec, 2018 2 commits
  29. 16 Dec, 2018 2 commits