mirror of https://github.com/explosion/spaCy.git
* Fix neural net stuff
This commit is contained in:
commit
735f1af91f
|
@ -76,7 +76,6 @@ cdef class Parser:
|
||||||
eg.wipe()
|
eg.wipe()
|
||||||
fill_context(&eg.atoms[0], stcls)
|
fill_context(&eg.atoms[0], stcls)
|
||||||
self.moves.set_valid(<bint*>&eg.is_valid[0], stcls)
|
self.moves.set_valid(<bint*>&eg.is_valid[0], stcls)
|
||||||
|
|
||||||
self.model.predict(eg)
|
self.model.predict(eg)
|
||||||
|
|
||||||
self.moves.c[eg.guess].do(stcls, self.moves.c[eg.guess].label)
|
self.moves.c[eg.guess].do(stcls, self.moves.c[eg.guess].label)
|
||||||
|
|
Loading…
Reference in New Issue