Make sure you do not use global model variable instead of NMTAttn variable. Also check your padding implementation. Here you could find hints what went wrong:
Cheers
Make sure you do not use global model variable instead of NMTAttn variable. Also check your padding implementation. Here you could find hints what went wrong:
Cheers