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
Mufei Li
e590feeb62
[Model Zoo] GAT on Tox21 ( #793 )
...
* GAT
* Fix mistake
* Fix
* hotfix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Update
* Update
* Update
* Fix style
* Hotfix
* Hotfix
* Hotfix
* Fix
* Fix
* Update
* CI trial
* Update
* Update
* Update
2019-08-28 04:47:16 +08:00
VoVAllen
3192beb42d
[Model zoo] JTNN model zoo ( #790 )
...
* jtnn model zoo
* poke ci
* fix line sep
* fix
* Fix import order
* fix render
* fix render
* revert
* fix
* Resolve conflict
* dix
* remove create_var
* refactor
* fix
* refactor
* readme
* format
* fix lint
* fix lint
* pylint
* lint
* fix lint
* fix lint
* add hint
* fix
* Remove vocab
* Add explanation for warning
* add directory
* Load model to cpu by default
* Update
2019-08-28 04:04:54 +08:00
Da Zheng
30c4625171
fix. ( #794 )
2019-08-27 09:56:38 -07:00
Mufei Li
331337fe5f
[Model Zoo] Clean up for Alchemy dataset ( #800 )
...
* Make dataset framework agnostic
* Update
* Update
* Fix
* Remove unused import
2019-08-28 00:08:59 +08:00
Zihao Ye
9314aabd1f
[Refactor] Interface of nn modules ( #798 )
...
* refactor
* upd mpnn
2019-08-27 22:29:25 +08:00
Zihao Ye
650f6ee1e0
[NN] Add commonly used GNN models from examples to dgl.nn modules. ( #748 )
...
* gat
* upd
* upd sage
* upd
* upd
* upd
* upd
* upd
* add gmmconv
* upd ggnn
* upd
* upd
* upd
* upd
* add citation examples
* add README
* fix cheb
* improve doc
* formula
* upd
* trigger
* lint
* lint
* upd
* add test for transform
* add test
* check
* upd
* improve doc
* shape check
* upd
* densechebconv, currently not correct (?)
* fix cheb
* fix
* upd
* upd sgc-reddit
* upd
* trigger
2019-08-27 18:21:19 +08:00
Mufei Li
8079d98617
Misc update ( #796 )
2019-08-27 16:08:36 +08:00
lunar
3bc73931f8
[Model Zoo] Molecule Regression ( #779 )
...
* [Model] MPNN
* [Model] MPNN 🔨 reorganize the mpnn/sch/mgcn model & alchemy dataset
* [Model] MPNN alchemy dataloader refactoring
* [Model] Chem model zoo minor change
* [Model] Chem Model Zoo 🔥 remove old samples
* [Model Zoo] molecule regression minor change
* Fix dataset import
* Fix dataset import
* [Model Zoo] molecule regression test set
* [Model Zoo] molecule prediction MPNN model hyperparameter tuning
* [Model Zoo] molecule prediction ✏️ mpnn performance update
2019-08-26 17:42:33 +08:00
Zihao Ye
2c234118c3
[Feature] Add builtin mean reducer ( #787 )
...
* upd
* upd
* upd
* upd
* upd
* passed test
* add note
* upd
* trigger
* slight change
* upd
* upd
* trigger
* fix
* simplify
* upd
* upd
* fudge
* upd
* trigger
* test partial
* upd
* trigger
2019-08-25 16:30:51 -04:00
Mufei Li
73b2668fe2
[Model Zoo] DGMG for molecule generation ( #783 )
...
* DGMG for molecule generation
* Fix CI check
* Fix for CI
* Trial for CI due to shared memory
* Update
* Better interface for dataset configuration
* Update
* Handle corner cases
* Update README
* Fix
* Fix
* Fix
* Fix
* Fix
* Refactor
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Update
* Fix
* Fix
* Fix
* Fix
* Fix
* Finallly
2019-08-26 03:39:20 +08:00
xiang song(charlie.song)
11fb217a76
[NN] Add TAGCN nn.module and example ( #788 )
...
* upd
* fig edgebatch edges
* add test
* trigger
* Update README.md for pytorch PinSage example.
Add noting that the PinSage model example under
example/pytorch/recommendation only work with Python 3.6+
as its dataset loader depends on stanfordnlp package
which work only with Python 3.6+.
* Provid a frame agnostic API to test nn modules on both CPU and CUDA side.
1. make dgl.nn.xxx frame agnostic
2. make test.backend include dgl.nn modules
3. modify test_edge_softmax of test/mxnet/test_nn.py and
test/pytorch/test_nn.py work on both CPU and GPU
* Fix style
* Delete unused code
* Make agnostic test only related to tests/backend
1. clear all agnostic related code in dgl.nn
2. make test_graph_conv agnostic to cpu/gpu
* Fix code style
* fix
* doc
* Make all test code under tests.mxnet/pytorch.test_nn.py
work on both CPU and GPU.
* Fix syntex
* Remove rand
* Add TAGCN nn.module and example
* Now tagcn can run on CPU.
* Add unitest for TGConv
* Fix style
* For pubmed dataset, using --lr=0.005 can achieve better acc
* Fix style
* Fix some descriptions
* trigger
* Fix doc
2019-08-25 22:17:46 +08:00
Minjie Wang
708765f0a1
[NN] RGCN modules ( #744 )
...
* rgcn module
* support id input
* WIP: model codes
* use faster index select
* dropout
* self loop
* WIP: link prediction
* fix lint
* WIP: docs
* docstring
* docstring
* merge two child classes
* mxnet rgcn module
* fix lint
* fix lint
* fix rename bug
* add uniform edge sampler
* fix fn name
* docstring
* fix mxnet rgcn module
* fix mx rgcn
* enable test on cuda
2019-08-23 16:38:48 -04:00
Quan (Andy) Gan
52d4535b61
[Hetero][RFC] Heterogeneous graph Python interfaces & Message Passing ( #752 )
...
* moving heterograph index to another file
* node view
* python interfaces
* heterograph init
* bug fixes
* docstring for readonly
* more docstring
* unit tests & lint
* oops
* oops x2
* removed node/edge addition
* addressed comments
* lint
* rw on frames with one node/edge type
* homograph with underlying heterograph demo
* view is not necessary
* bugfix
* replace
* scheduler, builtins not working yet
* moving bipartite.h to header
* moving back bipartite to bipartite.h
* oops
* asbits and copyto for bipartite
* tested update_all and send_and_recv
* lightweight node & edge type retrieval
* oops
* sorry
* removing obsolete code
* oops
* lint
* various bug fixes & more tests
* UDF tests
* multiple type number_of_nodes and number_of_edges
* docstring fixes
* more tests
* going for dict in initialization
* lint
* updated api as per discussions
* lint
* bug
* bugfix
* moving back bipartite impl to cc
* note on views
* fix
2019-08-23 15:45:37 -04:00
Da Zheng
66971c1aa4
[Feature] Add edge sampling for link prediction ( #780 )
...
* add edge sampler.
* add test and run.
* add negative sampling.
* remap the edge subgraph vid.
* negative graph excludes edges of positive edgs.
* remove print.
* avoid sampling NodeFlow when expand_factor or num_hops is 0.
* fix a bug when excluding nodes in negative graph.
* support multigraph.
* exclude positive edges.
* fix memory leak.
* return subgraph object directly.
* fix many problems.
* add comments.
* address comments
2019-08-21 23:05:24 -07:00
xiang song(charlie.song)
2bff8339dd
[Test] Provid a frame agnostic API to test nn modules on both CPU and CUDA side. ( #775 )
...
* upd
* fig edgebatch edges
* add test
* trigger
* Update README.md for pytorch PinSage example.
Add noting that the PinSage model example under
example/pytorch/recommendation only work with Python 3.6+
as its dataset loader depends on stanfordnlp package
which work only with Python 3.6+.
* Provid a frame agnostic API to test nn modules on both CPU and CUDA side.
1. make dgl.nn.xxx frame agnostic
2. make test.backend include dgl.nn modules
3. modify test_edge_softmax of test/mxnet/test_nn.py and
test/pytorch/test_nn.py work on both CPU and GPU
* Fix style
* Delete unused code
* Make agnostic test only related to tests/backend
1. clear all agnostic related code in dgl.nn
2. make test_graph_conv agnostic to cpu/gpu
* Fix code style
* fix
* doc
* Make all test code under tests.mxnet/pytorch.test_nn.py
work on both CPU and GPU.
* Fix syntex
* Remove rand
2019-08-21 16:40:41 +08:00
Da Zheng
be936da849
use FFI for subgraph. ( #781 )
2019-08-21 01:04:11 -07:00
Mufei Li
02029dce9b
Sync initializers ( #772 )
2019-08-17 20:25:54 +08:00
Quan (Andy) Gan
fd3d54ba98
bump up version for prerelease ( #768 )
2019-08-16 10:32:54 +08:00
Mufei Li
cd9fb7baa0
[Model Zoo] Refactor GCN on Tox21 ( #766 )
...
* [Model zoo] Model zoo (#765 )
* tox21
* fix ci
* fix ci
* fix urls to url
* add doc
* remove binary
* model zoo
* test
* markdown
* fix typo
* fix typo
* fix typo
* raise error
* fix lint
* remove unnecessary
* fix doc
* fix
* fix
* fix
* fix
* fix
* fix
* Update
* CI
* Fix
* Fix
* Fix
* Fix
* Fix
* CI
2019-08-16 02:49:25 +08:00
Quan (Andy) Gan
bdcba9c85c
setup for prerelease builds ( #763 )
2019-08-14 23:13:37 +08:00
VoVAllen
2ee3c78c7c
[Dataset] Tox21 ( #760 )
...
* tox21
* fix ci
* fix ci
* fix urls to url
* add doc
* remove binary
2019-08-14 16:55:01 +08:00
Zihao Ye
17b60e1af0
[Bugfix] EdgeBatch.edges call attempts tuple item assignment ( #747 )
...
* upd
* fig edgebatch edges
* add test
* trigger
2019-08-11 04:07:41 +08:00
Quan (Andy) Gan
16061925d5
[NodeFlow] Non-uniform neighbor sampling ( #711 )
...
* nonuniform sampler
* unit test
* test on out neighbors
* error checks
* lint
* fix
* clarification
* use macro switcher
* use empty array for uniform sampling
* oops
* Revert "oops"
This reverts commit a11f9ae707aaeb67fb5921c887a17d3711d5b04a.
* Revert "use empty array for uniform sampling"
This reverts commit 8526ce4cade89f2c1b09a08aca8830375ebafb31.
* re-reverting
* use a method
2019-08-07 09:42:08 +08:00
Zihao Ye
742d79a792
upd ( #741 )
2019-08-06 18:39:05 +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
Chao Ma
c3516f1a8e
[Network] Refactoring Communicator ( #679 )
...
* Refactoring Communicator
* fix lint
* change non-const reference
* add header file
* use MemoryBuffer
* update PR
* fix bug on csr shape
* zero-copy msg_queue
* fix lint
* fix lint
* fix lint
* add header file
* fix windows build error
* fix windows build error
* update
* fix lint
* update
* fix lint
* fix lint
* add more test
* fix windows test
* update windows test
* update windows test
* update windows test
* update
* fix lint
* fix lint
* update
* update
* update
* update
* use STATUS code
* update test
* remove mem_cpy
* fix lint
* update
* finish
* ConstructNFTensor
* add test for deallocator
* update
* fix lint
2019-08-05 10:49:25 +08:00
Minjie Wang
fc9d30fae4
[Graph] add local scope function ( #735 )
...
* add local scope function
* fix lint
* fix docstring
* change local_scope to local_var; add context manager
* address comments
2019-08-02 00:11:48 -04:00
Quan (Andy) Gan
e9e587b6cb
[Refactor] C random number generator ( #729 )
...
* rng refactor
* fix bugs
* unit test
* remove setsize
* lint
* fix test
* use explicit instantiation instead of inlining
* stricter test
* use tvm solution
* moved python interface to dgl.random
* lint
* address comments
* make getthreadid an inline function
2019-07-31 17:54:30 +08:00
Quan (Andy) Gan
86f28d6553
[Misc] Provide a "return 1s instead of edge IDs" option in scipy adjacency matrix ( #730 )
...
* return 1 option in scipy adjacency matrix
* lint
* use dgl warning
* i'm an idiot
* lint x2
* rename
2019-07-29 21:40:09 +08:00
Minjie Wang
7ad663c3a9
[Hetero] Heterograph C++ implementation; Bipartite and Python wrapper ( #725 )
...
* finish bipartite graph implementation; compiled
* finished heterograph implementation; compiled
* WIP: apis
* C API codes
* compiled
* WIP: python
* HeteroGraphIndex
* WIP: test
* add DGLContext support in ffi
* fix bug in has edge
* unittests except edge subgraph
* edge subgraph
* fix lint
* address comments
* poke ci
* try fix
* fix msvc
2019-07-27 15:22:56 -04:00
Minjie Wang
67dc11971f
[Refactor] Use object system for all CAPIs ( #716 )
...
* WIP: using object system for graph
* c++ side refactoring done; compiled
* remove stale apis
* fix bug in DGLGraphCreate; passed test_graph.py
* fix bug in python modify; passed utest for pytorch/cpu
* fix lint
* address comments
2019-07-23 12:47:05 -04:00
Minjie Wang
b0d9e7aa43
[Refactor] Separating graph and sparse matrix operations ( #699 )
...
* WIP: array refactoring
* WIP: implementation
* wip
* most csr part
* WIP: on coo
* WIP: coo
* finish refactoring immutable graph
* compiled
* fix undefined ndarray copy bug; add COOToCSR when coo has no data array
* fix bug in COOToCSR
* fix bug in CSR constructor
* fix bug in in_edges(vid)
* fix OutEdges bug
* pass test_graph
* pass test_graph
* fix bug in CSR constructor
* fix bug in CSR constructor
* fix bug in CSR constructor
* fix stupid bug
* pass gpu test
* remove debug printout
* fix lint
* rm biparate grpah
* fix lint
* address comments
* fix bug in Clone
* cpp utests
2019-07-17 17:49:38 -04:00
Pin
9cc83b4bc7
[Bugfix] Fix nodeflow.prop_flow range check ( #700 )
2019-07-10 14:11:06 -04:00
HQ
bf3994eea6
[Model][Hotfix] DiffPool formatting fix ( #696 )
...
* formatting
* formatting
2019-07-02 15:19:57 +08:00
Minjie Wang
90e78c5854
[FFI] FFI container support, custom structure extension via Object ( #693 )
...
* WIP: import tvm runtime node system
* WIP: object system
* containers
* tested basic container composition
* tested custom object
* fix setattr bug
* tested object container return
* fix lint
* some comments about get/set state
* fix lint
* fix lint
* update cython
* fix cython
* ffi doc
* fix doc
2019-07-01 14:40:07 -04:00
HQ
684a61ad09
[Model] DiffPool with both DGL and tensorized operatons ( #665 )
...
* diffpool original file added
* make diffpool fuse up and running
* minor tweak on tu dataset statistics method
* fix tu
* break
* delete break
* pre_org
* diffpool fuse reorg
* fix random shuffling
* fix bn
* add dgl layers
* early stopping
* add readme
* fix
* add diffpool preprocess script
* tweak tu dataset
* tweak
* tweak
* tweak
* tweak
* tweak
* preprocess dataset
* fix early stopping
* fix
* fix
* fix
* tweak
* readme
* code review
* code review
* dataset code review
* update README
* code review
* tu doc
2019-07-01 20:00:15 +08:00
VoVAllen
fc2e166ba6
[Fix] Fix Memory Leak in Edge Softmax ( #692 )
...
* Add serialization
* fix memory leak
* Revert "Add serialization"
This reverts commit e838bb1faa2503d14593d702be00514f936c9027.
* fix
2019-06-28 17:31:54 -04:00
Zihao Ye
8ecedfb369
[Fix] Bugfix in docs and check gradient of edge_softmax in test ( #686 )
...
* upd
* Add stronger test
* Update test_nn.py
* Update test_nn.py
* trigger
* trigger
* trigger
2019-06-27 00:43:26 +08:00
Da Zheng
401f22cadd
[API] Heterograph ( #657 )
...
* [Feature][RFC] Heterogeneous graph interface (#553 )
* heterogeneous graph interface
* lint
* disable lints
* disable lint checks
* change node_types to dict
* update
* update
* heterograph view
* message passing with types
* clarifications
* graph queries
* clarifications
* moving add_XXX to Base
* from_networkx
* register functions
* Update heterograph.py
* lint.
2019-06-17 16:59:04 +08:00
Da Zheng
11974812ca
[Backend] use new split in MXNet ( #660 )
...
* use new split.
* fix.
* fix.
* add zero copy from numpy.
2019-06-15 14:08:42 -07:00
Da Zheng
8059fa6f8b
print errors if users sample from mutable graph. ( #649 )
...
* give warning.
* fix.
* update error msg.
2019-06-12 17:54:02 +08:00
Quan (Andy) Gan
059b1a6d6f
[Release] Bump up version ( #636 )
...
* bump up version
* conda+cuda trial
* switch conda branch
* revert
* disable cudnn
2019-06-12 16:50:05 +08:00
Da Zheng
94ecb8eb96
[BUGFIX] copy graph index to shared memory. ( #634 )
...
* copy graph index to shared memory.
* fix.
* fix.
* fix.
* use a diff name for in-csr and out-csr.
* fix lint.
* remove print.
* add test.
* add comments.
2019-06-12 01:32:25 -07:00
Da Zheng
16ec2a8b10
we need to sync for mxnet. ( #648 )
2019-06-11 18:22:21 -07:00
Minjie Wang
e16e895d53
[Doc] fix some document warnings ( #645 )
...
* fix doc
* fix some format and warnings
* fix
2019-06-11 13:41:41 -04:00
Da Zheng
463807c511
[Doc] indexing missing docs. ( #625 )
...
* add doc of NodeFlow.
* add missing API in nodeflow.
* add docs and two more API to NodeFlow.
* add more docs.
* fix.
* fix.
* fix.
* add docs for distributed sampler.
2019-06-10 18:11:36 -07:00
Lingfan Yu
5549c70d33
[BugFix] Fix memory leak in DGL edge softmax module ( #643 )
...
* fix gat memory increase bug
* work around mxnet memory leak bug
* comments
* poke linter
* lint
* lint
2019-06-10 18:44:23 -04:00
Zihao Ye
d6a9265d16
[Doc] docstring for node/edge removal APIs ( #639 )
2019-06-10 12:38:06 -04:00
Mufei Li
fb9dcc51ff
[Feature] Add API to convert graph to bidirected graph ( #598 )
...
* to_bidirected
* to_bidirected
* Fix style
* Fix
* Update
* Fix
* Fix
* Update
* Add examples
2019-06-10 14:02:29 +08:00