28 Commits

Author SHA1 Message Date
xiangyuzhi
ba2ca4be6d [Sparse] Add a LADIES example (#6560) 2023-11-20 18:22:20 +08:00
xiangyuzhi
76ce14b7b4 [Sparse] Fix example variable name (#6581) 2023-11-20 18:07:35 +08:00
xiangyuzhi
419799b866 [Sparse] Add a graphSAGE example (#6481) 2023-11-03 10:21:18 +08:00
xiangyuzhi
c3a043eb23 [Sparse] Fix hetero-rgcn example datasets (#6200) 2023-08-23 17:24:50 +08:00
xiangyuzhi
4663cb0c91 [Sparse] A hetero-relational GCN example (#6157)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-08-23 10:15:51 +08:00
Andrei Ivanov
83437e67e0 Removing the warning that appears in the Graph Transformer example (#6061) 2023-08-03 13:22:56 +08:00
Hongzhi (Steve), Chen
0383941375 [Sparse] Add page rank example to DGL sparse Api. (#6077)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-08-03 09:44:52 +08:00
Mufei Li
de292c7a82 [Example] Sparse Example for HAN (#5568)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-04-19 22:31:22 +08:00
Hongzhi (Steve), Chen
704bcaf6dd examples (#5323)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-02-19 08:35:15 +08:00
Hongzhi (Steve), Chen
30fb03a6bc Update example with spmatrix. (#5219)
* update

* graph

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-20 15:39:55 +08:00
rudongyu
ec3934d0d1 [Example] Sparse Graph Transformer (#5069)
* gt example

* update

* update

* update

* update

* lint

* Update examples/sparse/graph_transformer.py

Co-authored-by: Mufei Li <mufeili1996@gmail.com>

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2023-01-05 08:50:38 +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
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
Minjie Wang
025e43210f [Sparse] Add tests for sparse examples; Migrate from mock_sparse to mock_sparse2 (#5073)
* pass gcn

* example tests

* pass gcnii, hgnn, sgc, sign

* black

* test file

* add torchmetrics

* migrate appnp, c_and_s, twirls

* fix style

* minor fix

* fix hypergraphatt and twirls

* pass gat

* fix torchmetric

* lintrunner

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-12-29 08:55:25 +08:00
Hongzhi (Steve), Chen
bda6a816be rename (#5058)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2022-12-28 13:27:52 +08:00
paoxiaode
6bd8175890 [Sparse] GCNII example (#5008) 2022-12-18 14:44:22 +08:00
Hongzhi (Steve), Chen
236fac4fb9 [Misc] Small fix in sparse GCN example (#5006)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2022-12-12 15:30:49 +08:00
paoxiaode
e28f07812b [Sparse] GCN Example (#4996)
* add GCN sparse matrix example

* refine GCN example

* refine GCN example

* change train function

* [Bugfix] Turn off `use_alternate_stream` when TensorAdaptor is not enabled (#4987)

* turn off use_alternate_stream when tensoradaptor is not enabled

* add docstring

* Update (#4997)

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>

* refine GCN example

* add GCN sparse matrix example

* refine GCN example

* refine GCN example

* change train function

* refine GCN example

* add highlight comment

* refine code

* refine code

* refine by black and flake8

* refine the comment to 80 char length

* refine the comment

* refine comment

Co-authored-by: Xin Yao <xiny@nvidia.com>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2022-12-09 09:19:38 +08:00
Minjie Wang
c604366d4c [Sparse][Example] Add TWIRLS example in sparse API (#4922)
* add twirls

* update attention part

* update; add val_like to mock_sparse

* black
2022-12-05 16:56:21 +08:00
Mufei Li
a5a0d9ed9d [Sparse] C&S Example (#4963)
* Update

* Update

* Update

* Update

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2022-12-01 18:35:53 +08:00
Quan (Andy) Gan
1edc92336b [Example] Hypergraph attention (#4941)
* hypergraph attention

* address comments
2022-11-28 20:12:37 +08:00
Mufei Li
7469bc9284 [Sparse] GAT Example (#4955)
* Update

* Update

* Update

* CI

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2022-11-28 19:23:23 +08:00
Hongzhi (Steve), Chen
0b9f64d607 small (#4954)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2022-11-25 17:56:15 +08:00
Mufei Li
c53deb26ab [Sparse] APPNP example (#4919)
* Update

* Update

* Update

* Update

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2022-11-23 14:30:30 +08:00
Mufei Li
61fa640193 [Sparse] SGC example (#4918)
* Update

* Update

* Update

* Update

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2022-11-22 17:38:27 +08:00
Quan (Andy) Gan
59f3d6e0b2 [Sparse] Add HGNN example (#4917)
* hgnn example

* desc

* update example index

* address

* replace naming

* address comments
2022-11-22 01:07:05 +08:00
Hongzhi (Steve), Chen
0c70bc23f4 [Sparse] Refactor SIGN model. (#4921)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2022-11-21 23:22:58 +08:00
Hongzhi (Steve), Chen
53895b958a [Sparse] SIGN example. (#4908)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-11-17 16:41:35 +08:00