Latent replay for real-time continual learning