mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Don't do dropout in NN at the moment
This commit is contained in:
parent
0fb188c76c
commit
be85b7f17f
|
@ -139,7 +139,11 @@ cdef class ParserNeuralNet(NeuralNet):
|
|||
|
||||
cdef void _softmaxC(self, weight_t* out) nogil:
|
||||
pass
|
||||
|
||||
|
||||
cdef void dropoutC(self, FeatureC* feats, weight_t drop_prob,
|
||||
int nr_feat) nogil:
|
||||
pass
|
||||
|
||||
def _update_from_history(self, TransitionSystem moves, Doc doc, history, weight_t grad):
|
||||
cdef Pool mem = Pool()
|
||||
features = <FeatureC*>mem.alloc(self.nr_feat, sizeof(FeatureC))
|
||||
|
|
Loading…
Reference in New Issue
Block a user