diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index 7b7a35700..fc48f2337 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -746,10 +746,9 @@ cdef class Parser: for j in range(doc.length): doc.c[j] = state.c._sent[j] if tensors is not None: - print(doc.tensor.shape) - doc.extend_tensor(tensors[i]) self.moves.finalize_doc(doc) + for hook in self.postprocesses: for doc in docs: hook(doc)