dmlc--dgl
e667545da5
* add seal example * 1. add paper infomation in examples/README 2. adjust codes 3. option test * use latest `to_simple` to replace coalesce graph function * remove outdated codes * remove useless comment * Node2vec 1.implement node2vec random walk c++ op 2.implement node2vec model 3.implement node2vec example * add CMakeLists file modify * refine c++ codes * refine c++ codes * add missing whitespace * refine python codes * add codes * add node2vec_impl.h * fix codes * fix code style problem * fixes * remove * lots of changes * add benchmark * fixes Co-authored-by: smilexuhc <smile.xuhc@gmail.com> Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
12 行
452 B
Python
12 行
452 B
Python
"""The ``dgl.sampling`` package contains operators and utilities for
|
|
sampling from a graph via random walks, neighbor sampling, etc. They
|
|
are typically used together with the ``DataLoader`` s in the
|
|
``dgl.dataloading`` package. The user guide :ref:`guide-minibatch`
|
|
gives a holistic explanation on how different components work together.
|
|
"""
|
|
|
|
from .randomwalks import *
|
|
from .pinsage import *
|
|
from .neighbor import *
|
|
from .node2vec_randomwalk import *
|