Imported from https://github.com/google/uis-rnn