mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
Summary: RNN executor previously relied on getting the mapping from x to x_prev (and gradients) from recurrent.py, but we can just infer them from links. This makes all models compatible with rnn executor, given enable_rnn_executor=1 argument. Reviewed By: jamesr66a Differential Revision: D5801436 fbshipit-source-id: 14d0e26dfbad6347f645d907da493187c98e9b17