Skip to content

Commit a8d8edc

Browse files
author
Austin Matthews
committed
prolly a bad idea to just drop important flags
1 parent f9a5f6c commit a8d8edc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dynet/init.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ static void remove_args(int& argc, char**& argv, int& argi, int n) {
2525

2626
DynetParams extract_dynet_params(int& argc, char**& argv, bool shared_parameters) {
2727
DynetParams params;
28+
params.shared_parameters = shared_parameters;
2829

2930
int argi = 1;
3031

0 commit comments

Comments
 (0)