Skip to content

Commit

Permalink
Remove deprecated reference to _dynet (#558)
Browse files Browse the repository at this point in the history
* Remove deprecated (and useless) reference to _dynet module
  • Loading branch information
armatthews authored and msperber committed Dec 20, 2018
1 parent 3e48fc0 commit be97f5c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xnmt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be97f5c

Please sign in to comment.