neubig / nn4nlp-code

Code Samples from Neural Networks for NLP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unnecessary parameter() calls in dynet examples

dbc148 opened this issue · comments

In pretty much all of the dynet examples, there are unnecessary parameter(parameter_name) calls to convert parameters to expressions. This is no longer necessary, as the newest version of python dynet automatically does the conversion.

Model() should also be renamed to Parameter collection.