mirror of https://github.com/explosion/spaCy.git
Fix parser for Thinc 6.11
This commit is contained in:
parent
9a389c4490
commit
307d6bf6d3
|
@ -466,7 +466,7 @@ cdef class Parser:
|
||||||
# TODO: These methods in Thinc are confusing at the moment, and
|
# TODO: These methods in Thinc are confusing at the moment, and
|
||||||
# quite backwards. But this currently does what we need.
|
# quite backwards. But this currently does what we need.
|
||||||
MatVec.batch_T_dot(scores,
|
MatVec.batch_T_dot(scores,
|
||||||
hW, vectors, nr_class, nr_hidden, nr_todo)
|
hW, vectors, nr_hidden, nr_class, nr_todo)
|
||||||
# Add bias
|
# Add bias
|
||||||
for i in range(nr_todo):
|
for i in range(nr_todo):
|
||||||
VecVec.add_i(&scores[i*nr_class],
|
VecVec.add_i(&scores[i*nr_class],
|
||||||
|
|
Loading…
Reference in New Issue