Zaida Zhou
6e9ce18323
Add copyright pre-commit-hook ( #1742 )
...
* first commit
* Add copyright pre-commit-hook
2022-02-24 09:24:25 +08:00
Zaida Zhou
dd82ab1497
Upgrade the version of isort ( #1705 )
...
* Upgrade the version of isort
* sort the order of importing modules
2022-02-09 21:29:21 +08:00
Luting Wang
56e9f73c58
[Feature] Add ModuleDict inherited from BaseModule and ModuleDict ( #1542 )
...
* improve: add module dict
* Update __init__.py
* docs: add module dict zh
* docs: add module dict
* Update test_basemodule.py
* Update __init__.py
* lint
* lint
* docs
* docs
* Update base_module.py
* lint
2021-12-06 11:56:12 +08:00
Zaida Zhou
f22c9eb4a4
Add code spell hook to pre-commit and fix typos ( #1384 )
...
* Add code-spell hook to pre-commit
* Add code-spell hook to pre-commit and fix typos
* fix setup.cfg
2021-10-04 20:13:54 +08:00
Shilong Zhang
18c64d5fb0
Fix potential bugs of basemodule when record the initilization information ( #1217 )
...
* add logger for init
* change init_info of oevrload init_weight
* add judgement for params_init_info
* add delete comments for params_init_info
* add docstr and more comments
* add docstr and more comments
* resolve comments
* dump to a file
* add unitest
* fix unitest
* fix unitest
* write to ori log
* fix typo
* resolve commnets
* fix call initweights twice in topmost module
* fix the potential bug of recursive import
* fix unitest
* fix potiential bugs
* remove unneccesary change
* add more unitest
* fix add param in initweights
* add more comments
* raise error
* add more detail assert error
2021-08-11 22:05:44 +08:00
Shilong Zhang
17fa6670eb
[Features] Add logger for initialization of parameters ( #1150 )
...
* add logger for init
* change init_info of oevrload init_weight
* add judgement for params_init_info
* add delete comments for params_init_info
* add docstr and more comments
* add docstr and more comments
* resolve comments
* dump to a file
* add unitest
* fix unitest
* fix unitest
* write to ori log
* fix typo
* resolve commnets
2021-07-23 21:07:54 +08:00
Miao Zheng
a76416393c
[Fix] Rename init_weight to init_weights ( #971 )
...
* [Fix] Rename init_weight to init_weights
* warning msg
2021-04-20 14:49:42 +08:00
Miao Zheng
47825b194e
[Refactoring] Revise init_weight in BaseModule ( #905 )
...
* [Refactoring] Add deprecated API warning
* revise test
* fix lint
* fix lint
2021-04-10 21:20:53 +08:00
Miao Zheng
65fec73509
[Refactoring] Revise function of layers and override keys in init_cfg ( #893 )
...
* [Refactoring]Approve init_cfg
* revise unit test
* revise according to comments
* add comment for wholemodule
2021-03-26 16:57:59 +08:00
Miao Zheng
967d9d5812
[Refactoring]Add Sequential with init_weight ( #884 )
...
* [Refactoring]Add BaseSequtial with init_weight
* revise according to comments
* revise comments
* minors
* baseseq2seq
* add modulelist
* revise minors
* fix isort
* format
2021-03-17 15:45:28 +08:00
Miao Zheng
a4c3702628
add initializers and BaseModule for unified parameter initialization ( #780 )
...
* add initializers and BaseModule for unified parameter initialization
* fix circle import
* bug fix
* add is_init flag in BaseModule
* fix docstring
* sort import and fix doc format
* fix bug
* fix docformat and double quote string
* fix import sort
* import sort
* sort import
* revise according to comments
* fix doc format
* revise according to comments
* revise import and fix typo
* polish code
* revise minors
* revice minors
* revise apply function
* revise bias initialization with probability
* add type test for bias_prob
* revise minors
2021-02-07 11:13:57 +08:00