Memory-efficient particle filter recurrent neural network for object localization