mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-06 20:04:24 +08:00
38 lines
619 B
ReStructuredText
38 lines
619 B
ReStructuredText
.. _apibatch:
|
|
|
|
BatchedDGLGraph -- Enable batched graph operations
|
|
==================================================
|
|
|
|
.. currentmodule:: dgl
|
|
.. autoclass:: BatchedDGLGraph
|
|
|
|
Merge and decompose
|
|
-------------------
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
batch
|
|
unbatch
|
|
|
|
Query batch summary
|
|
----------------------
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
BatchedDGLGraph.batch_size
|
|
BatchedDGLGraph.batch_num_nodes
|
|
BatchedDGLGraph.batch_num_edges
|
|
|
|
Graph Readout
|
|
-------------
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
sum_nodes
|
|
sum_edges
|
|
mean_nodes
|
|
mean_edges
|