yangbaechu
1e792886ed
Fix typo ( #5455 )
2023-03-16 11:01:02 +08:00
Gleb Bazhenov
54b4bd0acd
[Data] new functional for creating data splits in graph ( #5418 )
...
* new functional for creating data splits in graph
* minor fix in data split implementation
* apply suggestions from code review
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
* refactoring + unit tests
* fix test file name
* move imports to the top
* Revert "fix test file name"
This reverts commit 126323e38c8de6fdc73c826dccc9048aed8f9634.
* remove nccl submodule
* address linter issues
---------
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-03-09 18:55:25 +08:00
Guangyu Zhou
178290249e
[Dataset] Add PATTERN dataset ( #5422 )
...
* add PATTERN dataset
* fix bug
* fix bugs
* fix issues
* refine according to dongyu's comments
---------
Co-authored-by: BuptTab <gyzhou2000@gmail.com >
Co-authored-by: rudongyu <ru_dongyu@outlook.com >
2023-03-08 14:08:12 +08:00
Quan (Andy) Gan
aa6c542aab
fix version ( #5423 )
2023-03-07 13:41:22 +08:00
Tingyu Wang
bfd411d0d5
[Model] Add dgl.nn.CuGraphGATConv model ( #5168 )
...
* add CuGraphGATConv model
* lintrunner
* update model to reflect changes in make_mfg_csr(), move max_in_degree to forward()
* simplify pytest markers
* fall back to FG option for large fanout
* update error msg
* add feat_drop and activation options
* add residual option
* Update python/dgl/nn/pytorch/conv/cugraph_gatconv.py
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
* Update python/dgl/nn/pytorch/conv/cugraph_gatconv.py
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
* reset res_fc
---------
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-03-04 14:10:06 +08:00
Mufei Li
f00cd6efbd
[Utils] Edge and LINKX homophily measure ( #5382 )
...
* Update
* lint
* lint
* r prefix
* CI
* lint
* skip TF
* Update
* edge homophily
* linkx homophily
* format
* skip TF
* fix test
* update
* lint
* lint
* review
* lint
* update
* lint
* update
* CI
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2023-03-03 16:58:20 +08:00
czkkkkkk
34d6475490
[Doc] Fix typos in minibatch-edge.rst ( #5308 )
2023-03-02 11:26:35 +08:00
Zhiteng Li
a53ecd229b
[Dataset] Add CLUSTER dataset ( #5389 )
...
* add CLUSTER dataset
* refine according to dongyu's comments
---------
Co-authored-by: rudongyu <ru_dongyu@outlook.com >
2023-03-01 16:36:12 +08:00
Mufei Li
fcf5ad5f49
[Utils] Node homophily measure ( #5376 )
...
* Update
* lint
* lint
* r prefix
* CI
* lint
* skip TF
* Update
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2023-02-24 14:26:02 +08:00
Kunal Mukherjee
45153fc078
[Model] Implemented SubgraphX Explainer for Homogeneous graph ( #5315 )
...
* subgraphx commit
* nits
* newline eof added
* lint fix
* test script updated to use default values
* lint fix
* graphs that are used for test cases are updated to a small graph
* lint formatted
* test paramter adj to complete the test under 20s
* lint fixes
---------
Co-authored-by: kxm180046 <kxm180046@utdallas.edu >
2023-02-23 12:50:31 +08:00
Tingyu Wang
bcf9923b32
[Model] Add dgl.nn.CuGraphSAGEConv model ( #5137 )
...
* add CuGraphSAGEConv model
* fix lint issues
* update model to reflect changes in make_mfg_csr(), move max_in_degree to forward()
* lintrunner
* allow reset_parameters()
* remove norm option, simplify test
* allow full graph fallback option, add example
* address comments
* address reviews
---------
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-02-22 13:43:28 +08:00
Hongzhi (Steve), Chen
dce899190e
[Misc] Auto-reformat multiple python folders. ( #5325 )
...
* auto-reformat
* lintrunner
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-20 10:09:22 +08:00
ZhenyuLU_Heliodore
5598503aa0
[Transform] Add SVDPE Transform Module ( #5121 )
...
* add SVD positional encoding
* modify importing module
* Fixed certain problems
* Change the test unit to a nonsigular one
* Fixed typo and make accord with lintrunner
* added svd_pe into dgl.rst
* Modified dgl.rst
2023-02-08 12:29:03 +08:00
Minjie Wang
8230640248
Update index.rst ( #5233 )
2023-01-30 14:15:52 +08:00
Augusto Berndt
94d3c6cb9f
[Doc] Fix a typo in dgl.dataloading.rst ( #5211 )
...
changing privimitive to primitive
2023-01-20 14:23:26 +08:00
Hongzhi (Steve), Chen
17fad103b5
update ( #5215 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-20 11:25:53 +08:00
Rhett Ying
a844d16ec0
[Doc] add sphinxemoji
2023-01-20 10:58:22 +08:00
Minjie Wang
c7e3754d38
[Doc] fix colab tutorials ( #5205 )
...
* Created using Colaboratory
* Created using Colaboratory
* Created using Colaboratory
* Created using Colaboratory
* minor tweak
* minor fix
* Created using Colaboratory
* Update notebooks/sparse/quickstart.ipynb
2023-01-19 20:53:51 +08:00
Hongzhi (Steve), Chen
050798e9aa
Update dgl.sparse rst. ( #5201 )
...
* dgl
* blabla
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-19 12:22:48 +08:00
Rhett Ying
535f4b29e3
[Doc] enable note book exec for pytorch backend
2023-01-19 12:19:05 +08:00
Rhett Ying
995c1913aa
Update conf.py
2023-01-18 23:26:37 +08:00
Rhett Ying
11d7994708
[Doc] disable nbsphinx exec
2023-01-18 22:52:16 +08:00
Rhett Ying
aba0506c81
Update conf.py
2023-01-18 22:29:55 +08:00
Rhett Ying
395b89e4b1
[Doc] add nbsphinx for pytorch only
2023-01-18 21:40:49 +08:00
Rhett Ying
ebca7860f0
[Doc] disable include/exclude_patterns
2023-01-18 17:06:53 +08:00
Rhett Ying
6b3891cb13
Update conf.py
2023-01-18 15:07:47 +08:00
Rhett Ying
8c7d8bd878
[Doc] exclude some patterns
2023-01-18 14:15:21 +08:00
Rhett Ying
f7573c6de4
[Doc] run tutorials only in pytorch backend
2023-01-18 13:43:31 +08:00
Rhett Ying
fcf9663e69
[Doc] fix regular expression for include/exclude_patterns
2023-01-18 13:04:36 +08:00
Rhett Ying
84fccf5793
[Doc] add include/exclude_patterns when build sphinx ( #5195 )
2023-01-18 11:59:45 +08:00
Rhett Ying
2331feacca
Update conf.py
2023-01-17 17:50:51 +08:00
Rhett Ying
ad3b09f189
Update conf.py
2023-01-17 16:29:39 +08:00
Rhett Ying
491237aa16
[Doc] ignore tutorial files for non-pytorch backend ( #5191 )
2023-01-17 16:09:36 +08:00
Minjie Wang
1a6dd73552
[Doc] other colab tutorials ( #5189 )
...
* Created using Colaboratory
* Created using Colaboratory
* Created using Colaboratory
* add link
* Created using Colaboratory
* add link
2023-01-17 14:53:48 +08:00
Minjie Wang
2c143dafab
[Doc] Colab tutorial for graph transformer ( #5188 )
...
* Created using Colaboratory
* add gt nblink
* Created using Colaboratory
* update
* Add nblink
2023-01-17 14:28:01 +08:00
Minjie Wang
2a8062311f
[Doc] Colab tutorial for graph diffusion ( #5185 )
...
* Created using Colaboratory
* add diffusion notebook
* update
2023-01-17 14:26:19 +08:00
Minjie Wang
0868f1796d
[Doc] sparse lib tutorial and colab links ( #5181 )
...
* Created using Colaboratory
* nbsphinx & nblink
* Created using Colaboratory
* update notebook
* minor update
2023-01-16 18:59:19 +08:00
czkkkkkk
b5c5c860f6
[Sparse] Refactor matmul interface. ( #5162 )
...
* [Sparse] Refactor matmul interface.
* Update
2023-01-13 20:08:40 +08:00
Hongzhi (Steve), Chen
9334421d2b
[Sparse] Rename as_sparse to to_sparse, dense to to_dense. ( #5170 )
...
* as_sp_to_sp
* dense
* revert_mock
* test
* revert
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-13 17:03:20 +08:00
Rhett Ying
85bd0cdeca
[Doc] remove deprected Node/EdgeDataLoader ( #5171 )
2023-01-13 13:22:16 +08:00
Hongzhi (Steve), Chen
f1ed5d6de7
blabla ( #5152 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 20:21:55 +08:00
Hongzhi (Steve), Chen
41b4180950
Polish ( #5149 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 19:31:08 +08:00
Hongzhi (Steve), Chen
1a33ee99d3
[Sparse] Update doc string of element-wise ops for DiagMatrix and SparseMatrix. ( #5136 )
...
* doc
* minor
* black
* no-lint
* reorg
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 12:08:24 +08:00
Hongzhi (Steve), Chen
c5119480f2
[Sparse] Remove unnecessary API exposure. ( #5135 )
...
* remove unnecessary exposure.
* remove_add_power
* remove_warning
* reorder
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 11:47:14 +08:00
peizhou001
56ffb650fe
[API Deprecation]Deprecate contrib module ( #5114 )
2023-01-06 20:16:01 +08:00
Mufei Li
c8bc558880
[Sparse] Remove SparseMatrix.indices and add device/dtype conversions ( #5108 )
...
* Update
* Update
* Update
* lint
* lint
* Update
* CI
* Update diag_matrix.py
* Update sparse_matrix.py
* Update sparse_matrix.py
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-01-06 17:37:13 +08:00
Mufei Li
9169fc3541
[Sparse] Polish sparse matrix creation functions ( #5093 )
...
* update
* Update
* Update
* Update
* Update
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2023-01-03 22:59:57 +08:00
ZhenyuLU_Heliodore
cd817a1a00
[NN] Add SpatialEncoder and SpatialEncoder3d ( #4991 )
...
* Add SpatialEncoder and SpatialEncoder3d
* Optimize the code execution efficiency
* Fixed certain problems according to Dongyu's suggestions.
* Fix an error about probability of division by zero in PathEcoder; Change certain designs in SpatialEncoder
* Fix a typo
* polish the docstring
* fix doc
* lint
Co-authored-by: Ubuntu <ubuntu@ip-172-31-14-146.ap-northeast-1.compute.internal >
Co-authored-by: rudongyu <ru_dongyu@outlook.com >
2023-01-03 14:02:14 +08:00
Xin Yao
ce378327c7
fix bf16 tests ( #5089 )
2022-12-29 21:36:39 +08:00
Mufei Li
37bd092587
[Sparse] Namespace migration and doc update ( #5088 )
...
* update
* lint
* lint
* comments
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2022-12-29 20:34:29 +08:00