mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix call to updateC
This commit is contained in:
parent
e38632003d
commit
ff36cd43df
|
@ -166,7 +166,7 @@ cdef class ParserNeuralNet(NeuralNet):
|
|||
memset(costs, 0, self.moves.n_moves)
|
||||
costs[clas] = grad
|
||||
self.updateC(features,
|
||||
nr_feat, True, costs, is_valid, False, key=key[0])
|
||||
nr_feat, costs, is_valid, False, key=key[0])
|
||||
moves.c[clas].do(stcls.c, self.moves.c[clas].label)
|
||||
# Build a hash of the state sequence.
|
||||
# Position 0 represents the previous sequence, position 1 the new class.
|
||||
|
|
Loading…
Reference in New Issue
Block a user