1. 14 Aug, 2019 2 commits
  2. 10 Aug, 2019 1 commit
  3. 07 Aug, 2019 1 commit
    • 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
  4. 06 Aug, 2019 1 commit
  5. 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
  6. 02 Aug, 2019 1 commit
  7. 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
  8. 29 Jul, 2019 1 commit
  9. 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
  10. 23 Jul, 2019 1 commit
    • Minjie Wang's avatar
      [Refactor] Use object system for all CAPIs (#716) · 67dc1197
      Minjie Wang authored
      * WIP: using object system for graph
      
      * c++ side refactoring done; compiled
      
      * remove stale apis
      
      * fix bug in DGLGraphCreate; passed test_graph.py
      
      * fix bug in python modify; passed utest for pytorch/cpu
      
      * fix lint
      
      * address comments
      67dc1197
  11. 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
  12. 10 Jul, 2019 1 commit
  13. 02 Jul, 2019 1 commit
  14. 01 Jul, 2019 2 commits
    • Minjie Wang's avatar
      [FFI] FFI container support, custom structure extension via Object (#693) · 90e78c58
      Minjie Wang authored
      * WIP: import tvm runtime node system
      
      * WIP: object system
      
      * containers
      
      * tested basic container composition
      
      * tested custom object
      
      * fix setattr bug
      
      * tested object container return
      
      * fix lint
      
      * some comments about get/set state
      
      * fix lint
      
      * fix lint
      
      * update cython
      
      * fix cython
      
      * ffi doc
      
      * fix doc
      90e78c58
    • HQ's avatar
      [Model] DiffPool with both DGL and tensorized operatons (#665) · 684a61ad
      HQ authored
      * diffpool original file added
      
      * make diffpool fuse up and running
      
      * minor tweak on tu dataset statistics method
      
      * fix tu
      
      * break
      
      * delete break
      
      * pre_org
      
      * diffpool fuse reorg
      
      * fix random shuffling
      
      * fix bn
      
      * add dgl layers
      
      * early stopping
      
      * add readme
      
      * fix
      
      * add diffpool preprocess script
      
      * tweak tu dataset
      
      * tweak
      
      * tweak
      
      * tweak
      
      * tweak
      
      * tweak
      
      * preprocess dataset
      
      * fix early stopping
      
      * fix
      
      * fix
      
      * fix
      
      * tweak
      
      * readme
      
      * code review
      
      * code review
      
      * dataset code review
      
      * update README
      
      * code review
      
      * tu doc
      684a61ad
  15. 28 Jun, 2019 1 commit
  16. 26 Jun, 2019 1 commit
  17. 17 Jun, 2019 1 commit
    • Da Zheng's avatar
      [API] Heterograph (#657) · 401f22ca
      Da Zheng authored
      * [Feature][RFC] Heterogeneous graph interface (#553)
      
      * heterogeneous graph interface
      
      * lint
      
      * disable lints
      
      * disable lint checks
      
      * change node_types to dict
      
      * update
      
      * update
      
      * heterograph view
      
      * message passing with types
      
      * clarifications
      
      * graph queries
      
      * clarifications
      
      * moving add_XXX to Base
      
      * from_networkx
      
      * register functions
      
      * Update heterograph.py
      
      * lint.
      401f22ca
  18. 15 Jun, 2019 1 commit
  19. 12 Jun, 2019 4 commits
  20. 11 Jun, 2019 2 commits
  21. 10 Jun, 2019 4 commits
  22. 09 Jun, 2019 4 commits
    • Da Zheng's avatar
      [BUGFIX] Fix bugs in shared mem graph store. (#630) · 2e9949d2
      Da Zheng authored
      * fix graph store for Pytorch.
      
      * add test.
      
      * fix dtype error in test
      
      * disable test on GPU.
      
      * test avoid windows.
      
      * fix shared-memory test.
      
      * use script to control testing environment.
      
      * update test.
      
      * enable all tests.
      
      * fix test script.
      2e9949d2
    • Da Zheng's avatar
      Define node/edge Ids in NodeFlow more clearly (#628) · fc7775a2
      Da Zheng authored
      * add tests.
      
      * distinguish layer-local nid and nodeflow nid.
      
      * use numpy assert_array_equal and assert_allclose
      
      * fix map_from_parent_nid
      
      * fix test
      
      * fix test.
      
      * renmae remap.
      
      * update doc.
      
      * update doc.
      
      * update doc.
      
      * fix test.
      
      * fix test.
      fc7775a2
    • Minjie Wang's avatar
      [Examples] Run all the examples (#623) · dec8b49b
      Minjie Wang authored
      * all pytorch examples
      
      * scan through mxnet examples
      
      * change reddit data
      
      * tweak numerical range for unittest
      
      * fix ci
      
      * fix ci
      
      * fix
      
      * add seed to workaround
      dec8b49b
    • Lingfan Yu's avatar
      [Model] Update GAT model code (#622) · 74e13eea
      Lingfan Yu authored
      * fix gat code to use latest edge softmax module
      
      * avoid transpose
      
      * update README
      
      * use edge_softmax op
      
      * mxnet edge softmax op
      
      * mxnet gat
      
      * update README
      
      * fix unittest
      
      * fix ci
      
      * fix mxnet nn test; relax criteria for prod reducer
      74e13eea
  23. 08 Jun, 2019 2 commits
    • HQ's avatar
      [Enhancement] Add DGLGraph.to for PyTorch and MXNet backend (#600) · 993fd3f9
      HQ authored
      * add graph_to
      
      * use backend copy_to
      
      * add test
      
      * fix test
      
      * framework agnostic to() test
      
      * disable pylint complaint
      
      * add examples
      
      * fix docstring
      
      * formatting
      
      * Format
      
      * Update test_to_device.py
      993fd3f9
    • Zihao Ye's avatar
      [Feature] Remove nodes/edges. (#599) · baa16231
      Zihao Ye authored
      * upd
      
      * upd
      
      * reformat
      
      * upd
      
      * upd
      
      * add test
      
      * fix arange
      
      * fix slight bug
      
      * upd
      
      * trigger
      
      * upd docs
      
      * upd
      
      * upd
      
      * upd
      
      * change subgraph to be raw data wrapper
      
      * upd
      
      * fix test
      baa16231
  24. 07 Jun, 2019 3 commits