Working with long short-term memory units