From 7b8b5884a23d914acd9a06ad09934536646f1640 Mon Sep 17 00:00:00 2001 From: yh Date: Wed, 12 Jun 2019 14:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=5Fignore=5Ftype=E7=9A=84bug.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastNLP/core/field.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fastNLP/core/field.py b/fastNLP/core/field.py index b9a8196c..faa306f3 100644 --- a/fastNLP/core/field.py +++ b/fastNLP/core/field.py @@ -62,6 +62,7 @@ class FieldArray: if value: self._cell_ndim = None self.dtype = None + self._ignore_type = value @property def is_input(self):