neubig/nn4nlp-code

Errors while executing

Sasidhart97 opened this issue · 0 comments

I've got a few questions about the code "16-reinforce" , so I will just list them out. And hope you can help.

line 106 throws an error '_dynet.Expression' object has no attribute 'as_array'
2)line 109 throws an error '_dynet.Expression' object has no attribute 'len(x)'
Can you please help me the solution for this.