rudongyu
bb1f8850e5
[NN] Refactor the Code Structure of GT ( #5100 )
2023-04-14 11:50:14 +08:00
Hongzhi (Steve), Chen
63ac788ff4
auto-reformat-nn ( #5319 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-19 08:33:30 +08:00
ZhenyuLU_Heliodore
9d9280cb0e
[NN] Add DegreeEncoder for graph transformer ( #4742 )
...
* Add files via upload
This file will contain several utility modules for Graph Transformer. DegreeEncoder has been implemented in this file now.
* Update graph_transformer.py
* Update nn-pytorch.rst
Add graph_transformer.DegreeEncoder in Utility Modules
* Update test_nn.py
* Update __init__.py
* Update graph_transformer.py
* Update test_nn.py
* Update graph_transformer.py
fix unused import
* Update graph_transformer.py
add module doc-string
* Update graph_transformer.py
* Update graph_transformer.py
Co-authored-by: rudongyu <ru_dongyu@outlook.com >
2022-11-02 13:29:41 +08:00
Zhiteng Li
ed66a20970
[NN] Add a learned laplacian positional encoder ( #4750 )
...
* add a learned laplacian positional encoder
* leverage black to beautify the python code
* refine according to dongyu's comments
Co-authored-by: rudongyu <ru_dongyu@outlook.com >
2022-10-31 11:11:37 +08:00
LuckyLiuM
eb729c5401
Add Deepwalk module ( #4562 )
...
* metapath2vec package
* fix bugs --metapath2vec package
* add unittest and fix bugs
* fix pyling messages
* del init.py
* fix bugs
* modify metapath2vec and add deepwalk
* deepwalk module
* del metapath2vec files
* Update
* Update
* Update
* Update
* Update
* Fix
Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-26.ap-northeast-1.compute.internal >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-09-29 09:30:56 +08:00
rudongyu
3fe5eea791
[NN] Label Propagation & Directional Graph Networks ( #4017 )
...
* add label propagation module
* fix prev bug in example
* add dgn
* fix linting and doc issues
* update label propagation & dgn
* update label propagation & dgn
* update example
* fix unit test
* fix agg heritage issue
* fix agg issue
* fix lint
* fix idx
* fix lp gpu issue
* Update
* Update
Co-authored-by: mufeili <mufeili1996@gmail.com >
2022-05-20 15:23:19 +08:00
Minjie Wang
0227ddfb66
[NN] Rework RelGraphConv and HGTConv ( #3742 )
...
* WIP: TypedLinear and new RelGraphConv
* wip
* further simplify RGCN
* a bunch of tweak for performance; add basic cpu support
* update on segmm
* wip: segment.cu
* new backward kernel works
* fix a bunch of bugs in kernel; leave idx_a for future
* add nn test for typed_linear
* rgcn nn test
* bugfix in corner case; update RGCN README
* doc
* fix cpp lint
* fix lint
* fix ut
* wip: hgtconv; presorted flag for rgcn
* hgt code and ut; WIP: some fix on reorder graph
* better typed linear init
* fix ut
* fix lint; add docstring
2022-02-23 12:10:20 +08:00
Mufei Li
d6eecf90a1
[NN] TransE and TransR ( #3530 )
...
* Update
* Update
* Update
* Update
* Update
* CI
* CI
* CI
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-12-07 10:13:13 +08:00
Mufei Li
d2ef24335c
[NN] EdgePredictor ( #3518 )
...
* Update
* Update
* Fix
* Update
* Update
* update
* Fix test
* CI
* CI
2021-12-02 14:25:31 +08:00
Mufei Li
9e7fbf9567
[NN] JumpingKnowledge ( #3512 )
...
* Update
* Fix
2021-11-19 16:37:25 +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
xiang song(charlie.song)
a7e941c379
[Feature] Add support for sparse embedding ( #2451 )
...
* Add sparse embedding for dgl and update rgcn example
* upd
* Fix
* Revert "Fix"
This reverts commit 4da87cdfb8b8c3506b7fc7376cd2385ba8045c2a.
* Fix
* upd
* upd
* Fix
* Add unitest and update impl
* fix
* Clean up rgcn example code
* upd
* upd
* update
* Fix
* update score
* sparse for sage
* remove model sparse
* upd
* upd
* remove global norm
* revert delete model_sparse.py
* update according to comments
* Fix doc
* upd
* Fix test
* upd
* lint
* lint
* lint
* upd
* upd
* clean up
Co-authored-by: Ubuntu <ubuntu@ip-172-31-56-220.ec2.internal >
2021-01-28 00:26:49 +08:00
Minjie Wang
3efb5d8ecf
[NN] Add HeteroGraphConv module for cleaner module definition ( #1385 )
...
* Add HeteroGraphConv
* add custom aggregator; some docstring
* debugging
* rm print
* fix some acc bugs
* fix initialization problem in weight basis
* passed tests
* lint
* fix graphconv flag; add error message
* add mxnet heteroconv
* more fix for mx
* lint
* fix torch cuda test
* fix mx test_nn
* add exhaust test for graphconv
* add tf heteroconv
* fix comment
2020-03-27 18:47:06 +08:00
Zihao Ye
ca302a13ac
[Feature] Add dgl.nn.*.Sequential for usability ( #1166 )
...
* upd
* upd
* upd
* upd
* lint
* upd
* upd
* upd
* upd
Co-authored-by: VoVAllen <VoVAllen@users.noreply.github.com >
2020-01-09 12:39:22 +08:00
Quan (Andy) Gan
dc19cd5687
[Example] Dynamic Graph CNN on Point Cloud ( #789 )
...
* initial commit
* second commit
* another commit
* change docstring
* migrating to dgl.nn
* fixes
* docs
* lint
* multiple fixes
* doc
2019-08-28 09:21:57 +08:00
Zihao Ye
5d3f470b72
[Feature] DGL Pooling modules ( #669 )
...
* removal doc
* glob
* upd
* rm knn
* add softmax
* upd
* upd
* add broadcast and s2s
* optimize max_on
* forsaken changes to heterograph
* upd
* upd
* upd
* upd
* upd
* bugfix
* upd
* upd
* upd
* upd
* format upd
* upd format
* upd doc
* upd
* import order
* upd
* rm warnings
* fix
* upd test
* upd
* upd
* fix device
* upd
* upd
* upd
* upd
* remove 1.1
* upd
* trigger
* trigger
* add more tests
* fix device
* upd
* upd
* refactor
* fix?
* fix
* upd docstring
* refactor
* upd
* fix
* upd
* upd
* upd
* fix
* upd docs
* add shape
* refactor & upd doc
* upd doc
* upd
2019-08-06 01:43:25 +08:00
Minjie Wang
565f0c88fc
[WIP] [NN] Refactor NN package ( #406 )
...
* refactor graph conv
* docs & tests
* fix lint
* fix lint
* fix lint
* fix lint script
* fix lint
* Update
* Style fix
* Fix style
* Fix style
* Fix gpu case
* Fix for gpu case
* Hotfix edgesoftmax docs
* Handle repeated features
* Add docstring
* Set default arguments
* Remove dropout from nn.conv
* Fix
* add util fn for renaming
* revert gcn_spmv.py
* mx folder
* fix wierd bug
* fix mx
* fix lint
2019-02-25 18:41:21 -05:00
Mufei Li
2758c24955
[NN] Fix GCN module ( #99 )
...
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.
2018-10-28 04:35:33 +08:00
Lingfan Yu
96179b0c96
Deep Generative Models of Graphs ( #14 )
...
* model code for generative graphs
* batched version for dynamic graph generation using padding
* renaming function train back to forward
* remove old util function for padding DGMG
* override networkx clear to reset state, add dgl.nn
* Dynamic graph without batching
* use relative import path
* load dataset, pad batch
* bug fix
* experimental batch and unbatch
* dgmg batched version
* minor tweak
* move preprocessing padding into data loading
* batch graph test code
* minor
* batched graph class and test cases
* make dgl.nn.gcn a simple layer plus minor fix
* update dgmg model
* test forward using attribute field
* use frame append, minor changes
* moving networkx operations out of forward
* revert some changes
* remove structural immutability check
2018-08-16 14:05:50 -04:00