1. 19 Mar, 2019 1 commit
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 22 Dec, 2018 1 commit
    • Quan (Andy) Gan's avatar
      [CI] Jenkins on Windows builds (#324) · 75e2af79
      Quan (Andy) Gan authored
      * Jenkins build & test on Windows
      
      * oops
      
      * still running nohup on Windows slaves
      
      * ooops again
      
      * squishing vcvars and cmake
      
      * another try
      
      * reverting back
      
      * --user
      
      * switching to msbuild
      
      * made the graph size in cache testing bigger
      
      * put commands into script files
      
      * oooops
      75e2af79
  8. 17 Dec, 2018 1 commit
    • Minjie Wang's avatar
      [Graph][Model] Cache adj & inc; MX GCN (#307) · f35ac544
      Minjie Wang authored
      * add cache to adj and incmat
      
      * Fix bug in cached adj/inc
      
      * mx gcn spmv runnable; acc debugging...
      
      * fix bug in mx gcn that loss is not correctly calculated
      
      * fix mx utest
      
      * fix as requested
      
      * use raw parameter tensors rather than dense layer
      
      * fix dropout
      
      * Add numbers in readme
      f35ac544
  9. 16 Dec, 2018 1 commit
  10. 11 Dec, 2018 1 commit
    • Minjie Wang's avatar
      [Release] v0.1.3 (#288) · 597ac7f8
      Minjie Wang authored
      * 0.1.2 release
      
      * oops
      
      * more fixes on windows
      
      * [Bugfix] fix download dir (#275)
      
      * fix download dir
      
      * add doc for the env var
      
      * windows 7 -> 10
      
      * doc update
      
      * [Bugfix] Fix conversion from networkx (#286)
      
      * fix from_nx when no edge id available
      
      * add test cases
      
      * more detailed tests
      
      * more comments
      
      * [Bugfix] Switch to sparse_coo_matrix for torch 1.0+ (#282)
      
      * switch to sparse_coo_matrix for torch 1.0+
      
      * fix bug when the version is 0.4.1.post2
      
      * change to distutils
      597ac7f8
  11. 05 Dec, 2018 2 commits
  12. 04 Dec, 2018 1 commit
  13. 03 Dec, 2018 1 commit
    • Lingfan Yu's avatar
      [Bug] Fix inplace update (#221) · 52ed09a3
      Lingfan Yu authored
      * inplace write row op and executor
      
      * update scheduler and graph to use inplace write
      
      * fix
      
      * fix bug
      
      * test case for inplace
      
      * fix bugs for inplace apply node/edge
      
      * fix comments
      
      * th.allclose -> U.allclose
      52ed09a3
  14. 26 Nov, 2018 2 commits
  15. 22 Nov, 2018 3 commits
    • Minjie Wang's avatar
      Fix num_rows bug in batched_graph (#169) · 4dfe7547
      Minjie Wang authored
      4dfe7547
    • Zihao Ye's avatar
      [API] change the signature of node/edge filter (#166) · 23e2e83b
      Zihao Ye authored
      * change the signature of node/edge filter
      
      * upd filter
      23e2e83b
    • Lingfan Yu's avatar
      [Runtime] Scheduler and Executor (#140) · deb653f8
      Lingfan Yu authored
      * executor api
      
      * draft executor interface
      
      * WIP
      
      * revert changes to avoid conflict with api change
      
      * core scheduling logic
      
      * WIP: build graph adj
      
      * incidence matrix for in edges
      
      * support incidence matrix for partial recv nodes
      
      * improve
      
      * build adjmat in scheduler
      
      * graph store
      
      * get degree bucketing schedule
      
      * connect to c++ degree bucketing
      
      * conceptual executor creation code
      
      * executor comments
      
      * fix
      
      * more executor comments
      
      * WIP: full send_and_recv schedule
      
      * most schedulers
      
      * simplify scheduler
      
      * executors
      
      * runtime
      
      * builtin function base class
      
      * adj indices and shape
      
      * completely refactor scheduler
      
      * rename and move bundled out to function.py
      
      * use_edge_feature in msg func
      
      * rewrite scheduler
      
      * node edge executor
      
      * connect with graph api
      
      * handle zero degree
      
      * misc
      
      * fix test cases
      
      * fix a good many bugs...
      
      * remove old scheduler
      
      * push and pull
      
      * fix send recv
      
      * c++ lint
      
      * fix batched send recv
      
      * hot fix for mxnet
      
      * typo
      
      * write back executor
      
      * apply node edge
      
      * clean up, doc string
      
      * fix as requested
      
      * refactor
      
      * fix
      
      * WIP
      
      * WIP
      
      * ir draft
      
      * more on ir
      
      * WIP: spmv schedule
      
      * WIP
      
      * recv schedule
      
      * refactor
      
      * WIP
      
      * snr degree bucketing
      
      * snr scheduler
      
      * move prog to graph.py; rename
      
      * unittest for send/recv
      
      * remove some legacy codes
      
      * WIP: update_all
      
      * pass test_basics
      
      * passed all current utests
      
      * more utests; fix mx utest
      
      * WIP: fixing zero deg initial value
      
      * some tests
      
      * fix 0deg problem
      
      * fix mx
      
      * fix mx
      
      * some notes
      
      * fix as requested
      deb653f8
  16. 21 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [Frame] change num rows behavior (#163) · 0ec1a492
      Minjie Wang authored
      * move initializer to column scheme; change num rows behavior
      
      * poke mx ci
      
      * fix mx utest in append
      
      * fix bug in add edges
      
      * utest for updating partial rows
      
      * fix bug in from_networkx and from_scipy_matrix
      
      * revert per-col initializer change
      
      * fix pickle utest
      0ec1a492
  17. 19 Nov, 2018 1 commit
  18. 16 Nov, 2018 1 commit
    • Gan Quan's avatar
      Pickling support (#155) · 79a51025
      Gan Quan authored
      * pickling support
      
      * resorting to suggested way of pickling
      
      * custom attribute pickling check
      
      * working around a weird pytorch pickling bug
      
      * including partial frame case
      
      * pickling everything now
      
      * fix as requested
      79a51025
  19. 15 Nov, 2018 1 commit
  20. 14 Nov, 2018 1 commit
  21. 12 Nov, 2018 2 commits
    • Minjie Wang's avatar
      [CI] Improved CI (#141) · a95459e3
      Minjie Wang authored
      * change ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * nx package
      
      * update ci
      
      * update ci
      
      * update ci
      
      * fix
      
      * mx dockerfile by zhengda
      
      * python3.6->3.5
      
      * update ci image
      
      * add tutorial test
      
      * fix ci
      
      * fix ssl problem
      
      * minor change
      
      * small fix on traversal utest
      
      * fix syntax
      
      * add matplotlib in image
      
      * fix
      
      * update ci
      
      * update ci
      a95459e3
    • Gan Quan's avatar
      better bfs edge test (#142) · 7cbb83db
      Gan Quan authored
      7cbb83db
  22. 11 Nov, 2018 2 commits
  23. 10 Nov, 2018 1 commit
    • Gan Quan's avatar
      [API] Readout interfaces (#124) · 40ca5de4
      Gan Quan authored
      * fixing builtin src*edge shape mismatch
      
      * bundled function refactor (?)
      
      * fixing names
      
      * readout prototype
      
      * oops
      
      * more fixes
      
      * removing readout prototype
      
      * sum_on() with SPMV, fixing batching with 0 edges
      
      * readouts with segmented sum
      
      * typo (??????)
      
      * fixes NLTK dependency (#125)
      
      * misc fixes including #126 (pushing again)
      
      * sanity check for mxnet
      
      * fixes NLTK dependency (#125) and #126
      
      * reverting to sum_nodes/edges
      40ca5de4
  24. 09 Nov, 2018 3 commits
  25. 08 Nov, 2018 1 commit
    • GaiYu0's avatar
      [API] Graph traversal (#103) · 23191674
      GaiYu0 authored
      * bfs, dfs and topological traversal
      
      * dfs and test cases
      
      * Conflicts:
      	python/dgl/graph.py
      	src/graph/graph.cc
      	src/graph/graph_op.cc
      
      * documentation
      
      * requested changes
      
      * Conflicts:
      	Jenkinsfile
      	examples/pytorch/gcn/gcn.py
      	examples/pytorch/gcn/gcn_spmv.py
      	python/dgl/graph.py
      	python/dgl/graph_index.py
      	src/graph/graph.cc
      	src/graph/graph_op.cc
      
      * Conflicts:
      	Jenkinsfile
      	python/dgl/graph_index.py
      
      * fix lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix test cases
      
      * requested changes
      
      * traversal interface
      
      * [Bug] fixed a typo that caused syntax error (#120)
      
      * WIP
      
      * bfs nodes generator works
      
      * topological traversal
      
      * WIP: dfs_edges
      
      * dfs edges
      
      * dfs labeled edges
      
      * utest for traversal
      
      * fix lint
      
      * fix utest
      
      * code clean
      
      * changes as requested
      23191674
  26. 04 Nov, 2018 1 commit
  27. 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
  28. 01 Nov, 2018 1 commit
    • Gan Quan's avatar
      [Frame] Support slice type indexing; optimize dgl.batch (#110) · 2ecd2b23
      Gan Quan authored
      * cherry picking optimization from jtnn
      
      * unbatch by slicing frames
      
      * reduce pack
      
      * oops
      
      * support frame read/write with slices
      
      * reverting to unbatch by splitting; slicing is unfriendly to backward
      
      * replacing lru cache with static object factory
      
      * replacing Scheme object with namedtuple
      
      * remove comment
      
      * forgot the find edges interface
      
      * subclassing namedtuple
      2ecd2b23
  29. 30 Oct, 2018 1 commit
    • Mufei Li's avatar
      Support for adding nodes/edges after setting representations (#114) · 9827e481
      Mufei Li authored
      * Fix
      
      1. Fix two typos in gcn.py and gcn_spmv.py
      2. Update README
      
      * Fix GCN module
      
      1. Update the outdated graph convolution layer class
      2. Fix a bug in the code where dropout never works. Modules like dropout/batch norm depend on whether we are in the training stage or inference stage.
      
      * Fix a bug in dropout
      
      1. dropout depends on nn.Module.training
      
      * Update GCN module
      
      * Fix README
      
      * Fix dropout & remove self.msg_field
      
      * Fix
      
      * Align with TF implementation
      
      * Make g an argument for forward
      
      * Remove features from the argument of GraphConv layer
      
      * Support for create nodes/edges after setting representations
      
      * Remove redundant commit
      
      * Delete test_init_repr.py
      
      * Test case for dynamic addition
      
      * Base 'add_rows' upon 'append'
      
      * Move test function
      
      * Fix
      
      * test by assertion
      
      * changed add_rows to adding blank rows only; adding convert_to to backend
      
      * moving test to basics
      
      * oops mxnet
      9827e481
  30. 19 Oct, 2018 1 commit
  31. 18 Oct, 2018 2 commits
    • Da Zheng's avatar
      update the MXNet backend. (#89) · 4af3f8bc
      Da Zheng authored
      * update mxnet.
      
      * add get_tvmtype.
      
      * remove undefined test.
      4af3f8bc
    • Minjie Wang's avatar
      [Frame] Refactor frame. (#85) · b9631912
      Minjie Wang authored
      * refactor frame codes
      
      * fix unit test
      
      * fix gcn example
      
      * minor doc/message changes
      
      * raise errors for non-exist columns in FrameRef; sanity check when append
      
      * fix unittest; change error msg
      
      * Add warning for none initializer
      
      * fix unittest
      
      * use warnings package
      b9631912