Bidirectional long short-term memory network for proto-object representation