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.
[Tutorial] Add sse tutorial & MXNet Tutorial CI (dmlc#252)
* add sse tutorial * add mxnet tutorial ci * fix ci * fix ci * fix ci * fix ci * fix ci * fix ci * Fix ci * Fix ci * Fix ci * fix ci * fix ci * fix ci * fix ci * fix ci * fix ci * Fix CI Fix CI image * permission fix * fix a bug in the code. * small fix * fix doc * fix ci * shorten the iters * fix * remove extra file * add load_backend api to dynamically switch to another backend * try fix * fix tutorial * fix tutorial * fix bug in tutorial
- Loading branch information
1 parent
f4a9a45
commit cd907cd
Showing
10 changed files
with
610 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
.. apisampler | ||
Sampling subgraphs from a large graph | ||
===================================== | ||
Graph samplers | ||
============== | ||
|
||
.. currentmodule:: dgl.contrib.sampling | ||
|
||
NeighborSampler | ||
--------------- | ||
|
||
A function that generates a subgraph loader for sampling subgraphs. | ||
.. autofunction:: dgl.contrib.sampling.sampler.NeighborSampler |
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
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
Empty file.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
|
||
# cpplint | ||
echo 'Checking code style of C++ codes...' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
# The working directory for this script will be "tests/scripts" | ||
|
||
TUTORIAL_ROOT="../../tutorials" | ||
|
||
function fail { | ||
echo FAIL: $@ | ||
exit -1 | ||
} | ||
|
||
pushd ${TUTORIAL_ROOT} > /dev/null | ||
# Install requirements | ||
pip3 install -r requirements.txt || fail "installing requirements" | ||
|
||
# Test | ||
export MPLBACKEND=Agg | ||
for f in $(find . -name "*.py" ! -name "*_mx.py") | ||
do | ||
echo "Running tutorial ${f} ..." | ||
python3 $f || fail "run ${f}" | ||
done | ||
|
||
popd > /dev/null |
Oops, something went wrong.