dmlc--dgl
3a868eb04b
* 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 行
647 B
ReStructuredText
40 行
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
|