From be97f5c78e73a350a0c492f660113428008335fa Mon Sep 17 00:00:00 2001 From: Austin Matthews Date: Thu, 20 Dec 2018 08:19:44 -0500 Subject: [PATCH] Remove deprecated reference to _dynet (#558) * Remove deprecated (and useless) reference to _dynet module --- xnmt/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xnmt/__init__.py b/xnmt/__init__.py index 880307c04..b708f19e7 100644 --- a/xnmt/__init__.py +++ b/xnmt/__init__.py @@ -14,10 +14,7 @@ yaml_logger = logging.getLogger('yaml') file_logger = logging.getLogger('xnmt_file') -import _dynet -dyparams = _dynet.DynetParams() -dyparams.from_args() - +import dynet # all Serializable objects must be imported here in order to be parsable # using the !Classname YAML syntax