mirror of
https://gitee.com/fastnlp/fastNLP.git
synced 2024-12-11 10:05:30 +08:00
fix a bug in initial methods
This commit is contained in:
parent
a6ecc8be83
commit
2a5bd71131
@ -34,7 +34,7 @@ def initial_parameter(net, initial_method=None):
|
||||
elif initial_method == 'kaiming_normal' or initial_method == 'msra':
|
||||
init_method = init.kaiming_normal
|
||||
elif initial_method == 'kaiming_uniform':
|
||||
init_method = init.kaiming_normal
|
||||
init_method = init.kaiming_uniform
|
||||
elif initial_method == 'orthogonal':
|
||||
init_method = init.orthogonal_
|
||||
elif initial_method == 'sparse':
|
||||
|
Loading…
Reference in New Issue
Block a user