1. 27 Aug, 2019 2 commits
    • Zihao Ye's avatar
      [NN] Add commonly used GNN models from examples to dgl.nn modules. (#748) · 650f6ee1
      Zihao Ye authored
      * gat
      
      * upd
      
      * upd sage
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * add gmmconv
      
      * upd ggnn
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * add citation examples
      
      * add README
      
      * fix cheb
      
      * improve doc
      
      * formula
      
      * upd
      
      * trigger
      
      * lint
      
      * lint
      
      * upd
      
      * add test for transform
      
      * add test
      
      * check
      
      * upd
      
      * improve doc
      
      * shape check
      
      * upd
      
      * densechebconv, currently not correct (?)
      
      * fix cheb
      
      * fix
      
      * upd
      
      * upd sgc-reddit
      
      * upd
      
      * trigger
      650f6ee1
    • Mufei Li's avatar
      Misc update (#796) · 8079d986
      Mufei Li authored
      8079d986
  2. 26 Aug, 2019 1 commit
    • lunar's avatar
      [Model Zoo] Molecule Regression (#779) · 3bc73931
      lunar authored
      * [Model] MPNN
      
      * [Model] MPNN 🔨 reorganize the mpnn/sch/mgcn model & alchemy dataset
      
      * [Model] MPNN alchemy dataloader refactoring
      
      * [Model] Chem model zoo minor change
      
      * [Model] Chem Model Zoo 🔥 remove old samples
      
      * [Model Zoo] molecule regression minor change
      
      * Fix dataset import
      
      * Fix dataset import
      
      * [Model Zoo] molecule regression test set
      
      * [Model Zoo] molecule prediction MPNN model hyperparameter tuning
      
      * [Model Zoo] molecule prediction  mpnn performance update
      3bc73931
  3. 25 Aug, 2019 3 commits
    • Zihao Ye's avatar
      [Feature] Add builtin mean reducer (#787) · 2c234118
      Zihao Ye authored
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * passed test
      
      * add note
      
      * upd
      
      * trigger
      
      * slight change
      
      * upd
      
      * upd
      
      * trigger
      
      * fix
      
      * simplify
      
      * upd
      
      * upd
      
      * fudge
      
      * upd
      
      * trigger
      
      * test partial
      
      * upd
      
      * trigger
      2c234118
    • Mufei Li's avatar
      [Model Zoo] DGMG for molecule generation (#783) · 73b2668f
      Mufei Li authored
      * DGMG for molecule generation
      
      * Fix CI check
      
      * Fix for CI
      
      * Trial for CI due to shared memory
      
      * Update
      
      * Better interface for dataset configuration
      
      * Update
      
      * Handle corner cases
      
      * Update README
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Refactor
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Finallly
      73b2668f
    • xiang song(charlie.song)'s avatar
      [NN] Add TAGCN nn.module and example (#788) · 11fb217a
      xiang song(charlie.song) authored
      * upd
      
      * fig edgebatch edges
      
      * add test
      
      * trigger
      
      * Update README.md for pytorch PinSage example.
      
      Add noting that the PinSage model example under
      example/pytorch/recommendation only work with Python 3.6+
      as its dataset loader depends on stanfordnlp package
      which work only with Python 3.6+.
      
      * Provid a frame agnostic API to test nn modules on both CPU and CUDA side.
      
      1. make dgl.nn.xxx frame agnostic
      2. make test.backend include dgl.nn modules
      3. modify test_edge_softmax of test/mxnet/test_nn.py and
          test/pytorch/test_nn.py work on both CPU and GPU
      
      * Fix style
      
      * Delete unused code
      
      * Make agnostic test only related to tests/backend
      
      1. clear all agnostic related code in dgl.nn
      2. make test_graph_conv agnostic to cpu/gpu
      
      * Fix code style
      
      * fix
      
      * doc
      
      * Make all test code under tests.mxnet/pytorch.test_nn.py
      work on both CPU and GPU.
      
      * Fix syntex
      
      * Remove rand
      
      * Add TAGCN nn.module and example
      
      * Now tagcn can run on CPU.
      
      * Add unitest for TGConv
      
      * Fix style
      
      * For pubmed dataset, using --lr=0.005 can achieve better acc
      
      * Fix style
      
      * Fix some descriptions
      
      * trigger
      
      * Fix doc
      11fb217a
  4. 23 Aug, 2019 2 commits
    • Minjie Wang's avatar
      [NN] RGCN modules (#744) · 708765f0
      Minjie Wang authored
      * rgcn module
      
      * support id input
      
      * WIP: model codes
      
      * use faster index select
      
      * dropout
      
      * self loop
      
      * WIP: link prediction
      
      * fix lint
      
      * WIP: docs
      
      * docstring
      
      * docstring
      
      * merge two child classes
      
      * mxnet rgcn module
      
      * fix lint
      
      * fix lint
      
      * fix rename bug
      
      * add uniform edge sampler
      
      * fix fn name
      
      * docstring
      
      * fix mxnet rgcn module
      
      * fix mx rgcn
      
      * enable test on cuda
      708765f0
    • Quan (Andy) Gan's avatar
      [Hetero][RFC] Heterogeneous graph Python interfaces & Message Passing (#752) · 52d4535b
      Quan (Andy) Gan authored
      * moving heterograph index to another file
      
      * node view
      
      * python interfaces
      
      * heterograph init
      
      * bug fixes
      
      * docstring for readonly
      
      * more docstring
      
      * unit tests & lint
      
      * oops
      
      * oops x2
      
      * removed node/edge addition
      
      * addressed comments
      
      * lint
      
      * rw on frames with one node/edge type
      
      * homograph with underlying heterograph demo
      
      * view is not necessary
      
      * bugfix
      
      * replace
      
      * scheduler, builtins not working yet
      
      * moving bipartite.h to header
      
      * moving back bipartite to bipartite.h
      
      * oops
      
      * asbits and copyto for bipartite
      
      * tested update_all and send_and_recv
      
      * lightweight node & edge type retrieval
      
      * oops
      
      * sorry
      
      * removing obsolete code
      
      * oops
      
      * lint
      
      * various bug fixes & more tests
      
      * UDF tests
      
      * multiple type number_of_nodes and number_of_edges
      
      * docstring fixes
      
      * more tests
      
      * going for dict in initialization
      
      * lint
      
      * updated api as per discussions
      
      * lint
      
      * bug
      
      * bugfix
      
      * moving back bipartite impl to cc
      
      * note on views
      
      * fix
      52d4535b
  5. 22 Aug, 2019 1 commit
    • Da Zheng's avatar
      [Feature] Add edge sampling for link prediction (#780) · 66971c1a
      Da Zheng authored
      * add edge sampler.
      
      * add test and run.
      
      * add negative sampling.
      
      * remap the edge subgraph vid.
      
      * negative graph excludes edges of positive edgs.
      
      * remove print.
      
      * avoid sampling NodeFlow when expand_factor or num_hops is 0.
      
      * fix a bug when excluding nodes in negative graph.
      
      * support multigraph.
      
      * exclude positive edges.
      
      * fix memory leak.
      
      * return subgraph object directly.
      
      * fix many problems.
      
      * add comments.
      
      * address comments
      66971c1a
  6. 21 Aug, 2019 3 commits
    • xiang song(charlie.song)'s avatar
      [Test] Provid a frame agnostic API to test nn modules on both CPU and CUDA side. (#775) · 2bff8339
      xiang song(charlie.song) authored
      * upd
      
      * fig edgebatch edges
      
      * add test
      
      * trigger
      
      * Update README.md for pytorch PinSage example.
      
      Add noting that the PinSage model example under
      example/pytorch/recommendation only work with Python 3.6+
      as its dataset loader depends on stanfordnlp package
      which work only with Python 3.6+.
      
      * Provid a frame agnostic API to test nn modules on both CPU and CUDA side.
      
      1. make dgl.nn.xxx frame agnostic
      2. make test.backend include dgl.nn modules
      3. modify test_edge_softmax of test/mxnet/test_nn.py and
          test/pytorch/test_nn.py work on both CPU and GPU
      
      * Fix style
      
      * Delete unused code
      
      * Make agnostic test only related to tests/backend
      
      1. clear all agnostic related code in dgl.nn
      2. make test_graph_conv agnostic to cpu/gpu
      
      * Fix code style
      
      * fix
      
      * doc
      
      * Make all test code under tests.mxnet/pytorch.test_nn.py
      work on both CPU and GPU.
      
      * Fix syntex
      
      * Remove rand
      2bff8339
    • Da Zheng's avatar
      use FFI for subgraph. (#781) · be936da8
      Da Zheng authored
      be936da8
    • VoVAllen's avatar
      [Model] Early stop GAT (#750) · 0f127637
      VoVAllen authored
      * Add early stop
      
      * add mxnet version
      
      * Poke ci
      0f127637
  7. 20 Aug, 2019 1 commit
  8. 18 Aug, 2019 2 commits
  9. 17 Aug, 2019 1 commit
  10. 16 Aug, 2019 2 commits
  11. 15 Aug, 2019 1 commit
    • Mufei Li's avatar
      [Model Zoo] Refactor GCN on Tox21 (#766) · cd9fb7ba
      Mufei Li authored
      * [Model zoo] Model zoo (#765)
      
      * tox21
      
      * fix ci
      
      * fix ci
      
      * fix urls to url
      
      * add doc
      
      * remove binary
      
      * model zoo
      
      * test
      
      * markdown
      
      * fix typo
      
      * fix typo
      
      * fix typo
      
      * raise error
      
      * fix lint
      
      * remove unnecessary
      
      * fix doc
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * Update
      
      * CI
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * CI
      cd9fb7ba
  12. 14 Aug, 2019 2 commits
  13. 10 Aug, 2019 1 commit
  14. 09 Aug, 2019 1 commit
  15. 07 Aug, 2019 3 commits
    • lunar's avatar
      [Model] Schnet & MGCN (#726) · e1f08644
      lunar authored
      * [Model] SchNet
      
      * [Model] SchNet model
      
      * [Model] Schnet Model fix device-related bug
      
      * [Model] SchNet fix bugs
      
      * [Model] SchNet fix some bugs
      
      * [Model] Schnet 🎨 code indent format
      
      * [Model] SchNet  fix some typos
      e1f08644
    • Chao Ma's avatar
      [Fix] Hold NDArray reference during send() (#740) · 747a8bee
      Chao Ma authored
      * fix NDArray reference
      
      * fix lint
      
      * capture NDArray in the closure
      747a8bee
    • 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
  16. 06 Aug, 2019 1 commit
  17. 05 Aug, 2019 2 commits
    • Zihao Ye's avatar
      [Feature] DGL Pooling modules (#669) · 5d3f470b
      Zihao Ye authored
      * removal doc
      
      * glob
      
      * upd
      
      * rm knn
      
      * add softmax
      
      * upd
      
      * upd
      
      * add broadcast and s2s
      
      * optimize max_on
      
      * forsaken changes to heterograph
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * bugfix
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * format upd
      
      * upd format
      
      * upd doc
      
      * upd
      
      * import order
      
      * upd
      
      * rm warnings
      
      * fix
      
      * upd test
      
      * upd
      
      * upd
      
      * fix device
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * remove 1.1
      
      * upd
      
      * trigger
      
      * trigger
      
      * add more tests
      
      * fix device
      
      * upd
      
      * upd
      
      * refactor
      
      * fix?
      
      * fix
      
      * upd docstring
      
      * refactor
      
      * upd
      
      * fix
      
      * upd
      
      * upd
      
      * upd
      
      * fix
      
      * upd docs
      
      * add shape
      
      * refactor & upd doc
      
      * upd doc
      
      * upd
      5d3f470b
    • Chao Ma's avatar
      [Network] Refactoring Communicator (#679) · c3516f1a
      Chao Ma authored
      * Refactoring Communicator
      
      * fix lint
      
      * change non-const reference
      
      * add header file
      
      * use MemoryBuffer
      
      * update PR
      
      * fix bug on csr shape
      
      * zero-copy msg_queue
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * add header file
      
      * fix windows build error
      
      * fix windows build error
      
      * update
      
      * fix lint
      
      * update
      
      * fix lint
      
      * fix lint
      
      * add more test
      
      * fix windows test
      
      * update windows test
      
      * update windows test
      
      * update windows test
      
      * update
      
      * fix lint
      
      * fix lint
      
      * update
      
      * update
      
      * update
      
      * update
      
      * use STATUS code
      
      * update test
      
      * remove mem_cpy
      
      * fix lint
      
      * update
      
      * finish
      
      * ConstructNFTensor
      
      * add test for deallocator
      
      * update
      
      * fix lint
      c3516f1a
  18. 02 Aug, 2019 1 commit
  19. 31 Jul, 2019 1 commit
    • 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
  20. 30 Jul, 2019 1 commit
  21. 29 Jul, 2019 1 commit
  22. 27 Jul, 2019 1 commit
    • Minjie Wang's avatar
      [Hetero] Heterograph C++ implementation; Bipartite and Python wrapper (#725) · 7ad663c3
      Minjie Wang authored
      * finish bipartite graph implementation; compiled
      
      * finished heterograph implementation; compiled
      
      * WIP: apis
      
      * C API codes
      
      * compiled
      
      * WIP: python
      
      * HeteroGraphIndex
      
      * WIP: test
      
      * add DGLContext support in ffi
      
      * fix bug in has edge
      
      * unittests except edge subgraph
      
      * edge subgraph
      
      * fix lint
      
      * address comments
      
      * poke ci
      
      * try fix
      
      * fix msvc
      7ad663c3
  23. 23 Jul, 2019 2 commits
  24. 17 Jul, 2019 1 commit
    • Minjie Wang's avatar
      [Refactor] Separating graph and sparse matrix operations (#699) · b0d9e7aa
      Minjie Wang authored
      * WIP: array refactoring
      
      * WIP: implementation
      
      * wip
      
      * most csr part
      
      * WIP: on coo
      
      * WIP: coo
      
      * finish refactoring immutable graph
      
      * compiled
      
      * fix undefined ndarray copy bug; add COOToCSR when coo has no data array
      
      * fix bug in COOToCSR
      
      * fix bug in CSR constructor
      
      * fix bug in in_edges(vid)
      
      * fix OutEdges bug
      
      * pass test_graph
      
      * pass test_graph
      
      * fix bug in CSR constructor
      
      * fix bug in CSR constructor
      
      * fix bug in CSR constructor
      
      * fix stupid bug
      
      * pass gpu test
      
      * remove debug printout
      
      * fix lint
      
      * rm biparate grpah
      
      * fix lint
      
      * address comments
      
      * fix bug in Clone
      
      * cpp utests
      b0d9e7aa
  25. 15 Jul, 2019 1 commit
  26. 12 Jul, 2019 1 commit
  27. 10 Jul, 2019 1 commit