From 091a9b522a0a66e438c334d93766a836f8457cd2 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 29 Aug 2020 13:11:26 +0200 Subject: [PATCH] Remove unused variable [ci skip] --- spacy/ml/tb_framework.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/ml/tb_framework.py b/spacy/ml/tb_framework.py index 44f125a04..8b542b7b9 100644 --- a/spacy/ml/tb_framework.py +++ b/spacy/ml/tb_framework.py @@ -47,7 +47,6 @@ def init(model, X=None, Y=None): def resize_output(model, new_nO): - tok2vec = model.get_ref("tok2vec") lower = model.get_ref("lower") upper = model.get_ref("upper") if not model.attrs["has_upper"]: