mirror of https://github.com/explosion/spaCy.git
Use layer norm instead of batch norm
This commit is contained in:
parent
9c580ad28a
commit
4ce5531389
|
@ -239,7 +239,7 @@ def Tok2Vec(width, embed_size, preprocess=None):
|
||||||
>> uniqued(embed, column=5)
|
>> uniqued(embed, column=5)
|
||||||
>> drop_layer(
|
>> drop_layer(
|
||||||
Residual(
|
Residual(
|
||||||
(ExtractWindow(nW=1) >> BN(Maxout(width, width*3)))
|
(ExtractWindow(nW=1) >> LN(Maxout(width, width*3)))
|
||||||
)
|
)
|
||||||
) ** 4, pad=4
|
) ** 4, pad=4
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue