forked from dmlc/dgl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Transform] Docstring and subframes (dmlc#1962)
* update knn graph docs * more docs * [Doc] transform module docstrings * remove copy_ndata and copy_edata * fix * lint * fix * fix * fix * clean up docstrings * fix docstring * dtype specifications * addresses comments * fix Co-authored-by: Mufei Li <[email protected]> Co-authored-by: xiang song(charlie.song) <[email protected]>
- Loading branch information
1 parent
6294677
commit cd48435
Showing
19 changed files
with
1,000 additions
and
697 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.. _api-dataloading: | ||
|
||
dgl.dataloading | ||
================================= | ||
|
||
.. automodule:: dgl.dataloading | ||
|
||
DataLoaders | ||
----------- | ||
|
||
PyTorch node/edge DataLoaders | ||
````````````````````````````` | ||
|
||
.. currentmodule:: dgl.dataloading.pytorch | ||
|
||
.. autoclass:: NodeDataLoader | ||
.. autoclass:: EdgeDataLoader | ||
|
||
General collating functions | ||
``````````````````````````` | ||
|
||
.. currentmodule:: dgl.dataloading | ||
|
||
.. autoclass:: Collator | ||
:members: dataset, collate | ||
|
||
.. autoclass:: NodeCollator | ||
:members: dataset, collate | ||
|
||
.. autoclass:: EdgeCollator | ||
:members: dataset, collate | ||
|
||
Neighborhood Sampling Classes | ||
----------------------------- | ||
|
||
Base Multi-layer Neighborhood Sampling Class | ||
```````````````````````````````````````````` | ||
|
||
.. autoclass:: BlockSampler | ||
:members: sample_frontier, sample_blocks | ||
|
||
Uniform Node-wise Neighbor Sampling (GraphSAGE style) | ||
````````````````````````````````````````````````````` | ||
|
||
.. autoclass:: MultiLayerNeighborSampler | ||
:members: sample_frontier | ||
|
||
.. _negative-sampling: | ||
|
||
Negative Samplers for Link Prediction | ||
------------------------------------- | ||
|
||
.. currentmodule:: dgl.dataloading.negative_sampler | ||
|
||
.. autoclass:: Uniform | ||
:members: __call__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ API Reference | |
dgl.ops | ||
dgl.function | ||
sampling | ||
dataloading | ||
dgl.dataloading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.