1. 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
  2. 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
  3. 05 Dec, 2018 1 commit
  4. 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
  5. 19 Nov, 2018 1 commit
  6. 09 Nov, 2018 1 commit
  7. 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
  8. 18 Oct, 2018 1 commit
    • 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
  9. 20 Sep, 2018 1 commit
  10. 01 Sep, 2018 1 commit
    • Minjie Wang's avatar
      Builtin function and API changes (#53) · 61fa3c6c
      Minjie Wang authored
      * WIP: API renaming
      
      * API rewrite and node function refactor
      
      * builtin functions
      
      * builtin functions tested
      
      * fix test
      
      * send and recv spmv test
      
      * WIP: fix examples
      
      * Fix examples using new APIs
      61fa3c6c
  11. 22 Aug, 2018 1 commit
    • Minjie Wang's avatar
      Many fix and updates (#47) · 6105e441
      Minjie Wang authored
      * subgraph copy from
      
      * WIP
      
      * cached members
      
      * Change all usage of id tensor to the new Index object; remove set device in DGLGraph;
      
      * subgraph merge API tested
      
      * add dict type reduced msg test
      6105e441
  12. 18 Aug, 2018 1 commit
    • Minjie Wang's avatar
      Subgraph API (#39) · 3721822e
      Minjie Wang authored
      * subgraph
      
      * more test cases
      
      * WIP
      
      * new FrameRef and test
      
      * separate nx init code
      
      * WIP
      
      * subgraph code and test
      
      * line graph code and test
      
      * adding new test for adding new features on line graphs
      
      * no backtracking line graph
      
      * fix inplace relabel
      3721822e
  13. 30 Jul, 2018 1 commit
    • Minjie Wang's avatar
      Batching semantics and naive frame storage (#31) · 11e42d10
      Minjie Wang authored
      * batch message_func, reduce_func and update_func
      
      Conflicts:
      	python/dgl/backend/pytorch.py
      
      * test cases for batching
      
      Conflicts:
      	python/dgl/graph.py
      
      * resolve conflicts
      
      * setter/getter
      
      Conflicts:
      	python/dgl/graph.py
      
      * test setter/getter
      
      Conflicts:
      	python/dgl/graph.py
      
      * merge DGLGraph and DGLBGraph
      
      Conflicts:
      	python/dgl/graph.py
      
      Conflicts:
      	python/dgl/graph.py
      
      * batchability test
      
      Conflicts:
      	python/dgl/graph.py
      
      Conflicts:
      	python/dgl/graph.py
      
      * New interface (draft)
      
      Conflicts:
      	_reference/gat_mx.py
      	_reference/molecular-gcn.py
      	_reference/molecular-gcn_mx.py
      	_reference/multi-gcn.py
      	_reference/multi-gcn_mx.py
      	_reference/mx.py
      	python/dgl/graph.py
      
      * Batch operations on graph
      
      Conflicts:
      	.gitignore
      	python/dgl/backend/__init__.py
      	python/dgl/backend/numpy.py
      	python/dgl/graph.py
      
      * sendto
      
      * storage
      
      * NodeDict
      
      * DGLFrame/DGLArray
      
      * scaffold code for graph.py
      
      * clean up files; initial frame code
      
      * basic frame tests using pytorch
      
      * frame autograd test passed
      
      * fix non-batched tests
      
      * initial code for cached graph; tested
      
      * batch sendto
      
      * batch recv
      
      * update routines
      
      * update all
      
      * anonymous repr batching
      
      * specialize test
      
      * igraph dep
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * clean some files
      
      * batch setter and getter
      
      * fix utests
      11e42d10