.. _apitransform-namespace:

dgl.transform
=============

.. currentmodule:: dgl.transform
.. automodule:: dgl.transform

BaseTransform
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: BaseTransform
    :members: __call__, __repr__
    :show-inheritance:

AddSelfLoop
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: AddSelfLoop
    :show-inheritance:

RemoveSelfLoop
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: RemoveSelfLoop
    :show-inheritance:

AddReverse
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: AddReverse
    :show-inheritance:

ToSimple
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: ToSimple
    :show-inheritance:

LineGraph
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: LineGraph
    :show-inheritance:

KHopGraph
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: KHopGraph
    :show-inheritance:

AddMetaPaths
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: AddMetaPaths
    :show-inheritance:

KNNGraph
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: KNNGraph
    :show-inheritance:
