1. 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
  2. 04 Nov, 2018 2 commits
  3. 03 Nov, 2018 1 commit
  4. 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
  5. 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
  6. 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
  7. 27 Oct, 2018 2 commits
    • Mufei Li's avatar
      [NN] Fix GCN module (#99) · 2758c249
      Mufei Li authored
      1. Update `examples/pytorch/gcn` and `python/dgl/nn/pytorch` based on the latest APIs
      2. Add full support for dropout in `examples/pytorch/gcn` and `python/dgl/nn/pytorch`
      3. Rename `GCN` class in `python/dgl/nn/pytorch` to be `GraphConvolutionLayer` class
      4. Make node field an argument that can be configured by users in GraphConvolutionLayer
      
      Note that adjacency normalization has not been supported yet in the examples. 
      2758c249
    • VoVAllen's avatar
      [Model] Capsule (#95) · d0ea98be
      VoVAllen authored
      * add capsule example
      
      * clean code
      
      * better naming
      
      * better naming
      
      * Clean Codes based on pytorch MNIST example
      
      * Clean codes
      
      * Add README
      d0ea98be
  8. 26 Oct, 2018 3 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
    • GaiYu0's avatar
      remove pytorch dependency in sbm.py (#107) · ff928126
      GaiYu0 authored
      ff928126
  9. 25 Oct, 2018 1 commit
  10. 24 Oct, 2018 7 commits
  11. 23 Oct, 2018 3 commits
  12. 22 Oct, 2018 8 commits
  13. 20 Oct, 2018 2 commits
  14. 19 Oct, 2018 7 commits