ColossalAI/docs/colossalai/colossalai.nn.rst

58 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2021-10-28 16:21:23 +00:00
colossalai.nn
=============
2022-03-31 03:36:56 +00:00
*This part contains different colossalai layers for constructing your model.
You can easily use them as the way of using layers in torch.nn.*
*Now colossalai support layer types below:* ``Linear``, ``Classifier``, ``Embedding``,
``PatchEmbedding``, ``LayerNorm``, ``Dropout`` *for different parallelisms.*
2021-10-28 16:21:23 +00:00
.. toctree::
:maxdepth: 2
colossalai.nn.layer
2022-03-31 03:36:56 +00:00
*This part contains different loss functions for different parallelisms.*
.. toctree::
:maxdepth: 2
2021-10-28 16:21:23 +00:00
colossalai.nn.loss
2022-03-31 03:36:56 +00:00
*This part contains different learning rate schedules to control your learning rate
in training process*
.. toctree::
:maxdepth: 2
2021-10-28 16:21:23 +00:00
colossalai.nn.lr_scheduler
2022-03-31 03:36:56 +00:00
*This part contains different metric to measure performance of your model.*
.. toctree::
:maxdepth: 2
colossalai.nn.metric
2022-03-31 03:36:56 +00:00
*This part contains some colossalai optimizers*
.. toctree::
:maxdepth: 2
2021-10-28 16:21:23 +00:00
colossalai.nn.model
2022-03-31 03:36:56 +00:00
.. toctree::
:maxdepth: 2
2021-10-28 16:21:23 +00:00
colossalai.nn.optimizer
2022-03-31 03:36:56 +00:00
*This part contains different methods to initialize weights.*
.. toctree::
:maxdepth: 2
colossalai.nn.init
2022-03-31 03:36:56 +00:00
.. automodule:: colossalai.nn
:members: