@@ -1,12 +1,6 @@ | |||||
fastNLP.core | fastNLP.core | ||||
============= | ============= | ||||
fastNLP.core.action | |||||
-------------------- | |||||
.. automodule:: fastNLP.core.action | |||||
:members: | |||||
fastNLP.core.batch | fastNLP.core.batch | ||||
------------------- | ------------------- | ||||
@@ -61,6 +55,12 @@ fastNLP.core.preprocess | |||||
.. automodule:: fastNLP.core.preprocess | .. automodule:: fastNLP.core.preprocess | ||||
:members: | :members: | ||||
fastNLP.core.sampler | |||||
--------------------- | |||||
.. automodule:: fastNLP.core.sampler | |||||
:members: | |||||
fastNLP.core.tester | fastNLP.core.tester | ||||
-------------------- | -------------------- | ||||
@@ -73,6 +73,12 @@ fastNLP.core.trainer | |||||
.. automodule:: fastNLP.core.trainer | .. automodule:: fastNLP.core.trainer | ||||
:members: | :members: | ||||
fastNLP.core.vocabulary | |||||
------------------------ | |||||
.. automodule:: fastNLP.core.vocabulary | |||||
:members: | |||||
.. automodule:: fastNLP.core | .. automodule:: fastNLP.core | ||||
:members: | :members: |
@@ -1,36 +0,0 @@ | |||||
fastNLP.modules.aggregation | |||||
============================ | |||||
fastNLP.modules.aggregation.attention | |||||
-------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregation.attention | |||||
:members: | |||||
fastNLP.modules.aggregation.avg\_pool | |||||
-------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregation.avg_pool | |||||
:members: | |||||
fastNLP.modules.aggregation.kmax\_pool | |||||
--------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregation.kmax_pool | |||||
:members: | |||||
fastNLP.modules.aggregation.max\_pool | |||||
-------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregation.max_pool | |||||
:members: | |||||
fastNLP.modules.aggregation.self\_attention | |||||
-------------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregation.self_attention | |||||
:members: | |||||
.. automodule:: fastNLP.modules.aggregation | |||||
:members: |
@@ -0,0 +1,36 @@ | |||||
fastNLP.modules.aggregator | |||||
=========================== | |||||
fastNLP.modules.aggregator.attention | |||||
------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregator.attention | |||||
:members: | |||||
fastNLP.modules.aggregator.avg\_pool | |||||
------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregator.avg_pool | |||||
:members: | |||||
fastNLP.modules.aggregator.kmax\_pool | |||||
-------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregator.kmax_pool | |||||
:members: | |||||
fastNLP.modules.aggregator.max\_pool | |||||
------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregator.max_pool | |||||
:members: | |||||
fastNLP.modules.aggregator.self\_attention | |||||
------------------------------------------- | |||||
.. automodule:: fastNLP.modules.aggregator.self_attention | |||||
:members: | |||||
.. automodule:: fastNLP.modules.aggregator | |||||
:members: |
@@ -1,5 +0,0 @@ | |||||
fastNLP.modules.interaction | |||||
============================ | |||||
.. automodule:: fastNLP.modules.interaction | |||||
:members: |
@@ -0,0 +1,5 @@ | |||||
fastNLP.modules.interactor | |||||
=========================== | |||||
.. automodule:: fastNLP.modules.interactor | |||||
:members: |
@@ -3,10 +3,10 @@ fastNLP.modules | |||||
.. toctree:: | .. toctree:: | ||||
fastNLP.modules.aggregation | |||||
fastNLP.modules.aggregator | |||||
fastNLP.modules.decoder | fastNLP.modules.decoder | ||||
fastNLP.modules.encoder | fastNLP.modules.encoder | ||||
fastNLP.modules.interaction | |||||
fastNLP.modules.interactor | |||||
fastNLP.modules.other\_modules | fastNLP.modules.other\_modules | ||||
------------------------------- | ------------------------------- | ||||