Add LSTM, Simple RNN and GRU CPU kernel (#28577)
* add lstm, simple rnn op kernel
* fix the test_lstm for the rnn op
* change func name
* fix forward postprocess bug
* add gru forward, backward code
* remove unittest.skipIf; use a big rnn op instead of combination op
* fix input doesn't have gradient bug
* add eigen lstm forward, backward
Co-authored-by: Nwawltor <fangzeyang0904@hotmail.com>
Showing
paddle/fluid/operators/rnn_op.h
0 → 100644
此差异已折叠。
想要评论请 注册 或 登录