mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Fix name error in nn parser
This commit is contained in:
parent
b460533827
commit
d2626fdb45
|
@ -119,7 +119,7 @@ cdef class precompute_hiddens:
|
||||||
if not self._is_synchronized \
|
if not self._is_synchronized \
|
||||||
and self._cuda_stream is not None:
|
and self._cuda_stream is not None:
|
||||||
self._cuda_stream.synchronize()
|
self._cuda_stream.synchronize()
|
||||||
self._synchronized = True
|
self._is_synchronized = True
|
||||||
# This is tricky, but (assuming GPU available);
|
# This is tricky, but (assuming GPU available);
|
||||||
# - Input to forward on CPU
|
# - Input to forward on CPU
|
||||||
# - Output from forward on CPU
|
# - Output from forward on CPU
|
||||||
|
|
Loading…
Reference in New Issue
Block a user