Whitespace

This commit is contained in:
Matthew Honnibal 2017-10-28 17:05:11 +00:00
parent 6ef72864fa
commit 3b91097321

View File

@ -241,9 +241,11 @@ def Tok2Vec(width, embed_size, **kwargs):
tok2vec = (
FeatureExtracter(cols)
>> with_flatten(embed >> (convolution ** 4), pad=4)
>> with_flatten(
embed
>> convolution ** 4, pad=4
)
)
# Work around thinc API limitations :(. TODO: Revise in Thinc 7
tok2vec.nO = width
tok2vec.embed = embed