1. 20 Aug, 2020 1 commit
    • Minjie Wang's avatar
      [Doc] Scan the API docs and make many changes (#2080) · f13b9b62
      Minjie Wang authored
      
      
      * WIP: api
      
      * dgl.sampling, dgl.data
      
      * dgl.sampling; dgl.dataloading
      
      * sampling packages
      
      * convert
      
      * subgraph
      
      * deprecate
      
      * subgraph APIs
      
      * All docstrings for convert/subgraph/transform
      
      * almost all funcs under dgl namespace
      
      * WIP: DGLGraph
      
      * done graph query
      
      * message passing functions
      
      * lint
      
      * fix merge error
      
      * fix test
      
      * lint
      
      * fix
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      f13b9b62
  2. 17 Aug, 2020 1 commit
    • Mufei Li's avatar
      [Doc/Feature] Refactor, doc update and behavior fix for graphs (#1983) · be444e52
      Mufei Li authored
      
      
      * Update graph
      
      * Fix for dgl.graph
      
      * from_scipy
      
      * Replace canonical_etypes with relations
      
      * from_networkx
      
      * Update for hetero_from_relations
      
      * Roll back the change of canonical_etypes to relations
      
      * heterograph
      
      * bipartite
      
      * Update doc
      
      * Fix lint
      
      * Fix lint
      
      * Fix test cases
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix test
      
      * Fix
      
      * Update
      
      * Use DGLError
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * rewrite sanity checks
      
      * delete unnecessary checks
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      be444e52
  3. 13 Aug, 2020 1 commit
  4. 07 Aug, 2020 1 commit
    • Minjie Wang's avatar
      [Refactor] Enable new kernel in all message passing APIs (#1953) · 22167f72
      Minjie Wang authored
      * WIP: frame refactor
      
      * new frame
      
      * simple update_all builtin
      
      * move all subgraph routines into the same file
      
      * sddmm & spmm schedule; node & edge udf
      
      * degree bucketing
      
      * some tricky 0deg corner cases
      
      * bug in frame append
      
      * merge test_hetero_basics and test_basics
      
      * some code rearange
      
      * fix test_heterograph
      
      * add mean spmm
      
      * enable all builtin combinations
      
      * pass gpu test
      
      * pass pytorch tests
      
      * wip
      
      * fix some pt debugging codes
      
      * fix bug in mxnet backward
      
      * pass all mxnet utests
      
      * passed tf tests
      
      * docstring
      
      * lint
      
      * lint
      
      * fix broadcasting bugs
      
      * add warning and clamp for mean reducer
      
      * add test for zero-degree mean
      
      * address comments
      
      * lint
      
      * small fix
      22167f72
  5. 05 Mar, 2020 1 commit
  6. 28 Oct, 2019 1 commit
  7. 06 Oct, 2019 1 commit
  8. 08 Jun, 2019 1 commit
    • 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
  9. 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
  10. 03 Dec, 2018 1 commit
  11. 02 Dec, 2018 2 commits
    • Gan Quan's avatar
      [DOC] Documentation strings for graph mutation, queries, and subgraphing (#207) · 5680f8dc
      Gan Quan authored
      * docstrings for graph mutation & queries
      
      * [Doc] contrib.sampler. (#200)
      
      * subgraph docs
      
      * updates
      5680f8dc
    • Da Zheng's avatar
      [Model] Accelerate SSE (#172) · 57b07fce
      Da Zheng authored
      * lazy eval edge ids.
      
      * parallelize node id lookup.
      
      * fix a bug.
      
      * use mxnet for index.
      
      * use update_all in the subgraph training.
      
      * sample neighbors.
      
      * Revert "parallelize node id lookup."
      
      This reverts commit e661f69bb06cb5a7c246f0e106f245e27800e220.
      
      * update README.
      
      * cache subgraphs.
      
      * support all degrees.
      
      * cache adj in CPU.
      
      * fix a bug in sse.
      
      * print.
      
      * raise error on mutable graphs.
      
      * measure train time per epoch.
      
      * fix a bug in graph_index.
      
      * remove readonly in DGLSubGraph.
      
      * cache subgraph properly.
      
      * accelerate getting adjacency.
      
      * split infer.
      
      * lazy eval edges.
      
      * specify inference mode.
      
      * update for new sampler.
      
      * use new mxnet sampling api.
      
      * fix indent.
      
      * remove profiling code.
      
      * remove mxnet from sampler.
      
      * return a lambda function for graph edges.
      
      * add docs for immutable subgraph.
      
      * Revert "return a lambda function for graph edges."
      
      This reverts commit 0de5d7f100e230c518a3fb8976a6227f474d09ee.
      
      * get parent_eid.
      57b07fce
  12. 08 Nov, 2018 1 commit
    • 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
  13. 26 Oct, 2018 1 commit
    • 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
  14. 06 Oct, 2018 2 commits
  15. 05 Oct, 2018 1 commit
  16. 16 Sep, 2018 1 commit
  17. 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
  18. 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