Closed ASDen closed 6 years ago
This PR solves the NaN issue reported here : https://github.com/tmbdev/clstm/issues/63 The problem is that for newly allocated batches inside a Sequence, memory had to be reset to zeros, otherwise NaNs may flow in
why still not merge ?
Tested, works, thank you!
This PR solves the NaN issue reported here : https://github.com/tmbdev/clstm/issues/63 The problem is that for newly allocated batches inside a Sequence, memory had to be reset to zeros, otherwise NaNs may flow in