``brainpy.layers`` module
==================================

.. currentmodule:: brainpy.layers
.. automodule:: brainpy.layers


``brainpy.layers`` module is deprecated and has been renamed as ``brainpy.dnn``. Although all models
can be accessed through ``brainpy.layers.xxx`` as old version of BrainPy, we recommend
users to use ``brainpy.dnn.xxx`` instead.


In general, from ``brainpy>=2.4.3``, we provide two modules:

- ``brainpy.dnn`` for modeling deep neural networks
- ``brainpy.dyn`` for modeling brain dynamics models



