From d2626fdb452b583506dae2e4a576d939266da3d9 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 18 May 2017 04:31:01 -0500 Subject: [PATCH] Fix name error in nn parser --- spacy/syntax/nn_parser.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index 1f4f2f9bb..7178ffa6b 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -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