https://github.com/google/e3d_lstm/issues/20