By a latent variable, do you mean you want to do a neural delay differential equation?
http://docs.juliadiffeq.org/latest/tutorials/dde_example.html
By a latent variable, do you mean you want to do a neural delay differential equation?
http://docs.juliadiffeq.org/latest/tutorials/dde_example.html