Created by: zhhsplendid
PR types
Bug fixes
PR changes
OPs
Describe
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.