mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-19 04:50:35 +03:00
add inline _arg_max
This commit is contained in:
parent
e3eac03d40
commit
f1ed315249
|
@ -526,3 +526,5 @@ cdef class precompute_hiddens:
|
|||
return d_best.reshape((d_best.shape + (1,)))
|
||||
|
||||
return state_vector, backprop_relu
|
||||
|
||||
cdef inline int _arg_max(const float* scores, const int n_classes) nogil:
|
||||
|
|
Loading…
Reference in New Issue
Block a user