mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-05 19:54:25 +08:00
* Max readout and consecutive labeling * Delete test_readout.py * Delete test_basics.py * Test case and fix * Recover accidentally removed file * Fix import order * Fix test case * Fix * Fix * Fix * Fix * Fix * revert * Fix * Fix * Fix
40 lines
647 B
ReStructuredText
40 lines
647 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
|
|
max_nodes
|
|
max_edges
|