Fix parser for Thinc 6.11

This commit is contained in:
Matthew Honnibal 2018-03-16 10:59:31 +01:00
parent 9a389c4490
commit 307d6bf6d3
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ cdef class Parser:
# TODO: These methods in Thinc are confusing at the moment, and
# quite backwards. But this currently does what we need.
MatVec.batch_T_dot(scores,
hW, vectors, nr_class, nr_hidden, nr_todo)
hW, vectors, nr_hidden, nr_class, nr_todo)
# Add bias
for i in range(nr_todo):
VecVec.add_i(&scores[i*nr_class],