mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Revert use of layer normalization in Tok2Vec
This commit is contained in:
parent
20944dd8aa
commit
f93f2bed58
|
@ -221,7 +221,7 @@ def Tok2Vec(width, embed_size, preprocess=None):
|
|||
with_flatten(
|
||||
asarray(Model.ops, dtype='uint64')
|
||||
>> embed
|
||||
>> LN(Maxout(width, width*4, pieces=3))
|
||||
>> Maxout(width, width*4, pieces=3)
|
||||
>> Residual(ExtractWindow(nW=1) >> ReLu(width, width*3))
|
||||
>> Residual(ExtractWindow(nW=1) >> ReLu(width, width*3))
|
||||
>> Residual(ExtractWindow(nW=1) >> ReLu(width, width*3))
|
||||
|
|
Loading…
Reference in New Issue
Block a user