Yang Su
863c249568
Fix User Guide EN and CN typo ( #3495 )
...
* Update graph-heterogeneous.rst
`tensor([0, 1, 2, 0, 1, 2])` should be output instead of code
* Update message-api.rst
`updata_all_example()` should be `update_all_example()`
* Update message-efficient.rst
`cat_feat` need to concatenate with `dim=1` for the # edge features to match # edges
* Update nn-construction.rst
all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
* Update graph-heterogeneous.rst
`tensor([0, 1, 2, 0, 1, 2])` should be output instead of code
* Update message-api.rst
`updata_all_example()` should be `update_all_example()`
* Update message-efficient.rst
`cat_feat` need to concatenate with `dim=1` for the # edge features to match # edges
* Update nn-construction.rst
all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
* Update nn-forward.rst
all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
* Update nn-forward.rst
all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
Co-authored-by: zhjwy9343 <6593865@qq.com >
2021-11-14 20:37:39 +08:00
Mufei Li
dfa32ae092
[NN] GNNExplainer ( #3490 )
...
* Update
* Update
* Update
* Fix
* Update
* Update
* Update
* Update
* Update
* Update
* Fix
* Fix
* Update
* Update
* Update
* Update
* Update
* Update
* lint fix
* lint fix
* Fix lint
* Update
* Fix CI
* Fix CI
* Fix
* CI
* Fix
* Update
* Fix
* Fix
* Fix CI
* Fix CI
2021-11-11 02:22:22 +08:00
Mufei Li
f46080a4d1
[Feature] k-hop Subgraph Extraction ( #3458 )
...
* Update
* Fix
* Fix
* Update
* Update
* Update
* Fix CI
* Fix
* Fix
* Fix
* Update
* Update
* Update
* Fix
* Fix
* Fix for TF
2021-11-04 15:47:35 +08:00
Shaked Brody
e2f33fd5cc
[NN][Model] GATv2 ( #3473 )
...
* [Model][Core] GATv2
* lint
* gatv2conv.py
* lint
* lint
* style and docs
* lint
* gatv2conv fix
Co-authored-by: Shaked Brody shakedbr@campus.technion.ac.il <shakedbr@tangerine.cslcs.technion.ac.il >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2021-11-03 21:55:56 +08:00
Kamil Kamiński
51c6509704
[NN] Add EGATConv nn.module ( #3425 )
...
* added nn pytorch egatconv
* aligned with test build
* aligned with test build
* fixed wihite spaces
* fixed wihite spaces
* fixed wihite spaces
* added missing egatconv in imports
* added indentation in forward
* GATConv based implementation
* removed **kw_args
* added dgl relative imports
* PR corrections
* added DGL Error to EGATConv imports
* Update test_nn.py
Co-authored-by: Argusmocny <k.kaminski@cent.uw.edu.pl >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2021-10-28 00:38:08 +08:00
mszarma
a47ab71d44
[DOCS] Add training on CPU sections to docs ( #3398 )
2021-10-14 14:53:16 +08:00
NiklasBeierl
152760f66d
[Doc] Note for HeteroGraphConv / Doc build problems ( #3149 )
...
* Doc: HetGConv note for `edge_type_subgraph`
For the rational behind this note see the discussion in #3003 .
* WIP: Requirements for building the docs.
Had to install all these packages to get further with building the docs.
Didn't successfully build them yet, tho.
* Test
* Update
* Update hetero.py
* Update hetero.py
Co-authored-by: Ubuntu <ubuntu@ip-172-31-13-32.us-west-2.compute.internal >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2021-08-29 03:14:43 +08:00
Konstantinos Vandikas
79305862ec
allow for configuring default_dir ( #3277 )
...
* allow for configuring default_dir
* allow for using DGLDEFAULTDIR environment variable
* Update env_var.rst
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-08-27 01:29:49 +08:00
Jinjing Zhou
f67b1908ec
add flag ( #3264 )
...
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-08-21 12:38:03 +08:00
blokhinnv
31772b142e
fixed typos in docs and docstring ( #3231 )
...
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-08-16 13:58:45 +08:00
David Min
b78acd67ce
[Doc] Add an official documentation of UnifiedTensor ( #3194 )
...
* Add pytorch-direct version
* remove
* add documentation for UnifiedTensor
* Revert "add documentation for UnifiedTensor"
This reverts commit 63ba42644d4aba197c1cb4ea4b85fa1bc43b8849.
* add UnifiedTensor documentation
* Update python/dgl/contrib/unified_tensor.py
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
Co-authored-by: shhssdm <shhssdm@gmail.com >
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
2021-08-02 22:40:51 +08:00
Lu Lu
7ab659e257
Remove DGL_LOADALL=true ( #3150 )
...
DGL_LOADALL=true is not used in the code anymore.
2021-07-30 18:17:18 +08:00
Jinjing Zhou
2583ec5934
[Doc] Fix WeightBasis documentation ( #3189 )
...
* fix
* fix type
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-07-28 18:56:10 +08:00
Minjie Wang
73c85b984b
[Doc] Fix perf doc ( #3177 )
2021-07-23 18:07:42 +08:00
Minjie Wang
d1cc096956
[Doc] Note for performance benchmarks ( #3152 )
...
Co-authored-by: Tong He <hetong007@gmail.com >
2021-07-20 13:33:32 +08:00
Mufei Li
3f6f694159
[Bug fix] Various fix from bug bash ( #3133 )
...
* Update
* Update
* Update dependencies
* Update
* Update
* Fix ogbn-products gat
* Update
* Update
* Reformat
* Fix typo in node2vec_random_walk
* Specify file encoding
* Working for 6.7
* Update
* Fix subgraph
* Fix doc for sample_neighbors_biased
* Fix hyperlink
* Add example for udf cross reducer
* Fix
* Add example for slice_batch
* Replace dgl.bipartite
* Fix GATConv
* Fix math rendering
* Fix doc
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-17.us-west-2.compute.internal >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-22-156.us-west-2.compute.internal >
2021-07-15 09:17:15 +08:00
Quan (Andy) Gan
066bef21f0
[Doc] Fix CoraFull number of edges inconsistency in doc ( #3139 )
2021-07-14 15:06:57 +08:00
xiang song(charlie.song)
d7390763f0
[Distributed] Deprecate old DistEmbedding impl, use synchronized embedding impl ( #3111 )
...
* fix.
* fix.
* fix.
* fix.
* Fix test
* Deprecate old DistEmbedding impl, use synchronized embedding impl
* update doc
Co-authored-by: Ubuntu <ubuntu@ip-172-31-71-112.ec2.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-66.ec2.internal >
Co-authored-by: Da Zheng <zhengda1936@gmail.com >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-07-14 00:15:53 +08:00
Rhett Ying
186ef59283
[Feature] apply dgl.reorder() onto several node classification datase… ( #3102 )
...
* [Feature] apply dgl.reorder() onto several node classification datasets in DGL
* rebase on latest dgl.reorder_graph()
2021-07-13 08:52:17 +08:00
Rhett-Ying
175f53decf
[Feature] enable edge reorder in dgl.reorder_graph() ( #3113 )
...
* [Feature] enable edge reorder in dgl.reorder_graph()
* refine doc string
* refine doc string for dgl.reorder_graph
* refine doc string further
2021-07-12 14:11:46 +08:00
Quan (Andy) Gan
751685a979
[Doc] Add documentation for DGLGraph.adj_sparse ( #3096 )
...
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-07-07 11:24:47 +08:00
Zihao Ye
c372f0aed6
[doc] Expose dgl.partition APIs ( #3103 )
2021-07-06 12:17:56 +08:00
Minjie Wang
d3e4460b98
[Doc] Add docstring for missing APIs ( #3088 )
...
* add docstring for missing API; fix some docstring
* rename apis; address comments
2021-07-05 18:40:07 +08:00
Quan (Andy) Gan
ced0e443c2
[Doc] Add user guide for GPU-based sampling ( #3070 )
...
* add user guide for gpu sampling
* Update minibatch-gpu-sampling.rst
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-07-05 12:07:43 +08:00
Rhett-Ying
4307fe8895
[Feature] Add dgl.reorder() to re-order graph according to specified … ( #3063 )
...
* [Feature] Add dgl.reorder() to re-order graph according to specified strategy
* fix unit test failure for metis reorder
* fix unit test failure on mxnet_cpu
* refine unit test for dgl.reorder
* fix unit test failure on mxnet
* fix array_equal error for mxnet unit test
* fix unit test failure for mxnet
* convert metis output to numpy array explicitly
Co-authored-by: Tong He <hetong007@gmail.com >
2021-06-30 13:29:08 +08:00
Quan (Andy) Gan
61fba9da0f
[Doc] Add Node2Vec docstrings to documentation server ( #3068 )
...
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-06-29 22:29:10 +08:00
Quan (Andy) Gan
dad8751d29
[Doc] Add instructions for Windows users to install VC2015 redistributable ( #3071 )
...
* add instructions for VC2015 redist install
* fix typo
2021-06-29 13:10:48 +08:00
Tong He
789b03f433
[Doc] Add KNN Benchmark Results ( #3055 )
...
* add knn benchmark result
* update
2021-06-28 16:13:56 +08:00
Kay Liu
81456af8c5
[Doc] fix inconsistent variable names ( #3065 )
...
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-06-28 13:30:08 +08:00
Mufei Li
ff519f98c3
[API] Standardize Subgraph APIs ( #2929 )
...
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Fix
* Update
* Fix subgraph tests
* Capture stdout for distributed test
* Capture stdout for distributed test
* Update
* Update
* Update
* Update subgraph.cc
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-17.us-west-2.compute.internal >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-06-21 19:53:37 +08:00
Kay Liu
9706eaa895
[Feature] add permission information and fix import problems ( #3036 )
...
* [Feature] add positive negative statistics
* [Feature] add permission information and fix import problem
* fix backend incompatible problem
* modify random split to remove sklearn usage
* modify file read to remove pandas usage
* add datasets into doc
* add random seed in data splitting
* add dataset unit test
* usage permission information update
Co-authored-by: zhjwy9343 <6593865@qq.com >
2021-06-21 11:55:15 +08:00
zhjwy9343
55e7796ac5
Revert "[Feature] add permission information and fix import problems ( #2998 )" ( #3029 )
...
This reverts commit cba5b188b5 .
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-06-17 13:58:38 +08:00
Kay Liu
cba5b188b5
[Feature] add permission information and fix import problems ( #2998 )
...
* [Feature] add positive negative statistics
* [Feature] add permission information and fix import problem
* fix backend incompatible problem
* modify random split to remove sklearn usage
* modify file read to remove pandas usage
* add datasets into doc
Co-authored-by: zhjwy9343 <6593865@qq.com >
2021-06-16 18:24:17 +08:00
Mufei Li
5be937a7fb
[Kernel] Slicing Batched Graphs ( #2965 )
...
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update
* Update
* Add files via upload
* Add files via upload
* Update
* Lint
* Add files via upload
* Lint
* Update
* Update
* Update
* Update
* Update
* Lint Fix
* Lint
Co-authored-by: Ubuntu <ubuntu@ip-172-31-12-161.us-west-2.compute.internal >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
2021-06-10 12:07:44 +08:00
Quan (Andy) Gan
a7fe461c1c
[Doc] Single-machine Multi-GPU node classification tutorial ( #2976 )
...
* multi-GPU node classification tutorial
* Update 2_node_classification.py
* fixes
* elaborate a bit more
* address comments
* address comments
2021-06-08 10:28:02 +08:00
Tong He
972a9f1323
[Doc] Re-organize the code for dgl.geometry, and expose it in the doc ( #2982 )
...
* reorg and expose dgl.geometry
* fix lint
* fix test
* fix
2021-06-07 11:19:39 +08:00
Kay Liu
895d6fff72
[Doc] changing of output dimension ( #2981 )
...
Co-authored-by: zhjwy9343 <6593865@qq.com >
2021-06-05 22:12:41 +08:00
Da Zheng
b1628f2398
[Tutorial] Distributed node classification. ( #2969 )
...
* add init version.
* fix build.
* fix format.
* fix.
* fix.
* fix format.
* update README.
* avoid running CI on distributed training tutorials.
* Update tutorials/dist/1_node_classification.py
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
* fix.
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
2021-06-04 21:50:16 +08:00
Kay Liu
6383e64937
[Doc] correct the matrix multiplication symbols ( #2961 )
...
* correct the matrix multiplication symbols
* modified dimensionality of linear
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-06-03 08:51:23 +08:00
Quan (Andy) Gan
2ae190d690
[Doc] fix shape mismatch problem in user guide ( #2938 )
...
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-06-02 12:18:10 +08:00
Mufei Li
09642d7c21
[Tutorial] Single Machine Multi-GPU Minibatch Graph Classification ( #2940 )
...
* Update
* Update
* Update tutorials/multi/1_graph_classification.py
Co-authored-by: Tong He <hetong007@gmail.com >
* Update
* Update
* Update
Co-authored-by: Ubuntu <ubuntu@ip-172-31-4-21.us-west-2.compute.internal >
Co-authored-by: Tong He <hetong007@gmail.com >
2021-05-31 18:36:34 +08:00
Da Zheng
6e7f19f27b
[Distributed] add distributed in-degree and out-degree. ( #2918 )
...
* add distributed in-degree and out-degree.
* update comments.
* fix a bug.
* add tests.
* add tests.
* fix a bug.
* fix docstring.
* update doc.
* fix
* fix.
Co-authored-by: Zheng <dzzhen@3c22fba32af5.ant.amazon.com >
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
2021-05-18 19:46:09 +08:00
Quan (Andy) Gan
657c220de7
[Feature] Python interface for adjacency matrix summation and multiplication ( #2893 )
...
* test commit
* fixes
* oops
* add docs
* lint
* why does it say I have a trailing whitespace
* oh ok
* fixes
* why there's an invalid argument error
* address comments
* fix
* address comments
2021-05-17 19:47:02 +08:00
kyawlinoo
b03077b60d
[NN] GCNII model added < https://arxiv.org/pdf/2007.02133.pdf > ( #2874 )
...
* Auto stash before rebase of "origin/pytorch-nn-working"
GCNII model added
* linting
* linting
* lint
* Frequency Adaptive gcn init comit
* Revert "Frequency Adaptive gcn init comit"
This reverts commit 86a80586ac0040497c1edfa0e80df719992dcc4a.
* Update python/dgl/nn/pytorch/conv/gcn2conv.py
modified docstring
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
* added beta formula and changed param name
* fix docstring
* lint
* white space lint
* update docstring
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
* docstring formula update
* added gcn2
* added GCN2Conv
* Update nn.pytorch.rst
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-05-17 10:25:59 +08:00
Quan (Andy) Gan
caa6d6072c
[Feature] Replacing thread_wrapped_func with minimal mp.Process wrapper ( #2905 )
...
* standardizing thread_wrapped_func
* lints
* Update __init__.py
2021-05-14 11:34:49 +08:00
Da Zheng
a90296aa9c
fix. ( #2907 )
...
Co-authored-by: Zheng <dzzhen@3c22fba32af5.ant.amazon.com >
2021-05-13 16:55:31 +08:00
YYY
c18f957d0e
[Model] add implementation of twirls ( #2770 )
...
* add implementation of twirls
* format the code
* fix some format error, and ignore others
* fix format errors
* fix format errors
* expose unfolding & attention
* Update nn.pytorch.rst
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-05-11 09:58:48 +08:00
Theheavens
5498cf051e
[Doc]Fix examples on negative graph sampler ( #2863 )
...
* Fix examples on negative graph sampler
In heterogeneous graph, the old example may build a negative graph without edges. In dgl.dataloading.dataloader line637, it shows the key of neg_edges dict should be item in g.canonical_etypes.
* poke ci
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-05-06 21:34:31 +08:00
xiang song(charlie.song)
975eb8fc5d
[Distributed] Distributed node embedding and sparse optimizer ( #2733 )
...
* Draft for sparse emb
* add some notes
* Fix
* Add sparse optim for dist pytorch
* Update test
* Fix
* upd
* upd
* Fix
* Fix
* Fix bug
* add transductive exmpale
* Fix example
* Some fix
* Upd
* Fix lint
* lint
* lint
* lint
* upd
* Fix lint
* lint
* upd
* remove dead import
* update
* lint
* update unitest
* update example
* Add adam optimizer
* Add unitest and update data
* upd
* upd
* upd
* Fix docstring and fix some bug in example code
* Update rgcn readme
Co-authored-by: Ubuntu <ubuntu@ip-172-31-57-25.ec2.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-24-210.ec2.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-66.ec2.internal >
2021-05-03 08:37:40 +08:00
Da Zheng
45ec21b033
[Distributed] fix docs for distributed training. ( #2840 )
...
* update distributed training doc.
* explain data split.
* fix message passing.
* id mapping.
* fix.
* test data reshuffling.
* fix a bug.
* fix test.
* Revert "fix test."
This reverts commit 907f1dd88994894db94ffcd77b5995279f76b489.
* Revert "fix a bug."
This reverts commit ff0a4d893bbe4911a75ecb04bcbd9bc65315166b.
* Revert "test data reshuffling."
This reverts commit 99bb2f6405de67fc73652220b02e7184461c3e5e.
Co-authored-by: Zheng <dzzhen@3c22fba32af5.ant.amazon.com >
2021-04-29 14:38:41 +08:00