Working with gated recurrent units