1. 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
  2. 11 Nov, 2018 2 commits
  3. 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
  4. 09 Nov, 2018 3 commits
  5. 08 Nov, 2018 2 commits
    • Da Zheng's avatar
      [MXNet][API] move to the new API (#123) · bd0e4fa0
      Da Zheng authored
      * move gat to the new api.
      
      * fix gcn.
      
      * update sse.
      
      * fix dgl core.
      
      * update sse.
      
      * fix small bugs in dgl core.
      
      * fix mxnet tests.
      
      * retrigger
      
      * address comments and fix more bugs.
      
      * fix
      
      * fix tests.
      bd0e4fa0
    • 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
  6. 05 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [Backend] backend interface (#109) · 7241a9c0
      Minjie Wang authored
      * backend interface
      
      * small fix
      
      * more comments to the data type dict
      
      * WIP
      
      * convert_to and narrow
      
      * WIP
      
      * pytorch and numpy backend; WIP on mxnet backend
      
      * mxnet backend
      
      * narrow
      
      * Fix all usages
      
      * fix for mx
      
      * fix for mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * fix mx
      
      * revert jenkins
      
      * add sparse_matrix api
      
      * sparse matrix api
      
      * some fixme
      
      * Fix as requested
      7241a9c0
  7. 04 Nov, 2018 1 commit
  8. 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
  9. 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
  10. 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
  11. 26 Oct, 2018 2 commits
    • Da Zheng's avatar
      [GraphIndex] Immutable graph index using MXNet CSRArray (#86) · 9e9a9488
      Da Zheng authored
      * add immutable graph index.
      
      * update ImmutableGraphIndex.
      
      * add benchmarks of subgraph generation.
      
      * fix node_subgraphs.
      
      * use scipy synthetic data in immutable graph.
      
      * create immutable_graph.
      
      * use spmv in gcn.
      
      * fix immutable graph index.
      
      * update graph index.
      
      * create ImmutableSubgraphIndex.
      
      * return subgraph node and edge mapping.
      
      * fix benchmark.
      
      * add mapping to subgraph nid.
      
      * test in_edges and out_edges.
      
      * update benchmark.
      
      * Fix immutable subgraph.
      
      * complete in_edges and out_edges.
      
      * fix benchmarks.
      
      * add test on node_subgraphs
      
      * add sse.
      
      * construct subgraphs in parallel.
      
      * add in/out degree(s).
      
      * make immutable graph index backend-specific.
      
      * implement has_edge(s) and edge_id(s).
      
      * Revert "use spmv in gcn."
      
      This reverts commit 9cfed5f5fb3dd2ed9b98745348b1c0e9731ed7f7.
      
      * implement node_subgraphs in GraphIndex.
      
      * fix sse.
      
      * address comments.
      
      * address comments.
      
      * Update mxnet docker.
      9e9a9488
    • Da Zheng's avatar
      [CI] Enable mxnet CI. (#105) · 0d6cd30b
      Da Zheng authored
      * fix tests.
      
      * enable mxnet CI.
      
      * add mxnet tests.
      
      * update jenkins.
      
      * update mxnet docker image.
      0d6cd30b
  12. 22 Oct, 2018 1 commit
  13. 19 Oct, 2018 3 commits
  14. 18 Oct, 2018 4 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
    • Minjie Wang's avatar
      [Hotfix] Revert part of the send logic; disable the send twice test case; GCN... · 66261aee
      Minjie Wang authored
      [Hotfix] Revert part of the send logic; disable the send twice test case; GCN on GPU works again. (#88)
      
      66261aee
    • Gan Quan's avatar
      [GRAPHINDEX] Multigraph support (#79) · bc3f852d
      Gan Quan authored
      * multigraph support on graph index
      
      * more tests
      
      * multigraph flag, bugfix on clear & copy
      
      * networkx interfaces
      
      * including graph index tests in Jenkins
      
      * node subgraph test
      
      * edge subgraphs
      
      * removing duplicates in pred/succ
      
      * more explicit test and doc
      
      * query source and destination from edge id
      
      * subgraphindex
      
      * renaming has_edge to has_edge_between, apply_edges adding eid
      
      * send_on and send_and_recv_on
      
      * DGLGraph edge subgraph
      
      * merged send_on and send_and_recv_on
      
      * change request
      
      * removing hashmap
      
      * creating multigraph by flag; mingw support
      
      * changes per request
      
      * reverting networkx auto multigraph discovery
      
      * notes on send/send_and_recv on multigraphs
      
      * changing test reducer from sum to max
      
      * added a fixme note in spmv scheduler
      bc3f852d
  15. 17 Oct, 2018 1 commit
  16. 14 Oct, 2018 1 commit
    • Da Zheng's avatar
      [BACKEND] Add MXNet backend. (#77) · 5567f4a4
      Da Zheng authored
      * support mxnet.
      
      * add mxnet version of GCN.
      
      * rename mxnet.nd as F.
      
      * add mxnet GAT.
      
      * enable GPU for GCN.
      
      * fix MXNet GCN train.
      
      * Use adam to optimize GAT
      
      * support more operators.
      
      * support sparse arrays.
      
      * update mxnet backend.
      
      * support index_copy.
      
      * remove NN.
      
      * update mxnet backend.
      
      * temp check in.
      
      * fix data conversion.
      
      * add test.
      
      * clean up mxnet backend.
      
      * update mxnet examples.
      
      * Revert "remove NN."
      
      This reverts commit d815d9a0ec619f9ce9099c48cd35db9d8e947483.
      
      * temp disable MXNet version of NN.
      5567f4a4
  17. 13 Oct, 2018 1 commit
  18. 10 Oct, 2018 1 commit
  19. 09 Oct, 2018 2 commits
  20. 08 Oct, 2018 1 commit
  21. 07 Oct, 2018 3 commits
    • GaiYu0's avatar
      sparse line graph · 5119a504
      GaiYu0 authored
      5119a504
    • Lingfan Yu's avatar
      Dockerfile and CI (#74) · cdf7334c
      Lingfan Yu authored
      * Test CPP branch CI (#2)
      
      * Fix batching node-only graphs (#62)
      
      * fixing batching with graphs with no edges
      
      * oops forgot test
      
      * fix readme
      
      * Docker and Jenkins (#1)
      
      * docker ci cpu
      
      * install python packages
      
      * docker ci gpu
      
      * add readme
      
      * use dgl cpu image
      
      * run command in container as root
      
      * use python3
      
      * fix test case
      
      * remove nose from docker file
      
      * docker folder readme
      
      * parallelize cpu and gpu
      
      * top level stages
      
      * comment out python2 related installation
      
      * fix
      
      * remove igraph
      
      * building for cpp
      
      * change building order
      
      * export env in test stage
      
      * withEnv
      
      * run docker container as root
      
      * fix test cases
      
      * fix test cases
      
      * minor
      
      * remove old build
      cdf7334c
    • GaiYu0's avatar
      cpp lg · 905db292
      GaiYu0 authored
      905db292
  22. 06 Oct, 2018 2 commits
  23. 05 Oct, 2018 1 commit
  24. 04 Oct, 2018 2 commits