[Dy2stat] Fix lstm bug (#27631)
This PR fixed two bugs when converting LSTM in dy2stat: is_unsupported has a condition can trigger Python syntax error LSTM API's implementation in _rnn_static_graph doesn't include parameter initialization, which can cause dy2stat error.
Showing
想要评论请 注册 或 登录