Fix name error in nn parser

This commit is contained in:
Matthew Honnibal 2017-05-18 04:31:01 -05:00
parent b460533827
commit d2626fdb45
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ cdef class precompute_hiddens:
if not self._is_synchronized \
and self._cuda_stream is not None:
self._cuda_stream.synchronize()
self._synchronized = True
self._is_synchronized = True
# This is tricky, but (assuming GPU available);
# - Input to forward on CPU
# - Output from forward on CPU