-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy path__init__.py
More file actions
25 lines (22 loc) · 837 Bytes
/
__init__.py
File metadata and controls
25 lines (22 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import autogl
from ._graph_sampler import GraphSampler, SampledSubgraph, GraphSamplerUniversalRegistry, instantiate_graph_sampler
if autogl.backend.DependentBackend.is_pyg():
from ._pyg import (
PyGGraphSampler, PyGHomogeneousGraphSampler, PyGSampledSubgraph,
PyGClusterSampler, PyGNeighborSampler,
PyGGraphSAINTNodeSampler, PyGGraphSAINTEdgeSampler, PyGGraphSAINTRandomWalkSampler
)
__all__ = [
'GraphSampler',
'SampledSubgraph',
'GraphSamplerUniversalRegistry',
'instantiate_graph_sampler',
'PyGGraphSampler',
'PyGHomogeneousGraphSampler',
'PyGSampledSubgraph',
'PyGClusterSampler',
'PyGNeighborSampler',
'PyGGraphSAINTNodeSampler',
'PyGGraphSAINTEdgeSampler',
'PyGGraphSAINTRandomWalkSampler'
]