.. role:: hidden
    :class: hidden-section

NN Layers
=========

Customized NN modules in Encoding Package. For Synchronized Cross-GPU Batch Normalization, please visit :class:`encoding.nn.BatchNorm2d`.

.. currentmodule:: encoding.nn

:hidden:`Encoding`
~~~~~~~~~~~~~~~~~~

.. autoclass:: Encoding
    :members:

:hidden:`Inspiration`
~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: Inspiration
    :members:

:hidden:`UpsampleConv2d`
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: UpsampleConv2d
    :members:

:hidden:`DilatedAvgPool2d`
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: DilatedAvgPool2d
    :members:

:hidden:`GramMatrix`
~~~~~~~~~~~~~~~~~~~~

.. autoclass:: GramMatrix
    :members:
