I am new to neural network therefore, my question might be super basic. I am reading this article:
https://arxiv.org/pdf/1609.09869.pdf
In this article they've made a deep Markov Model in which they use recurrent neural network to generate the probability distribution parameters (mu and sigma). That is they have a string of observables (X) and which they feed to a bi-directional neural network and they use these networks to produce mu and sigma which in turn gives them latent variable (z). I've attached the image as well.
My question is how can you train your network to give distribution parameters? I know how a neural network works generally. So, for each label we have a corresponding input and with that input we get let's say a probability of whether its a cat or a dog in the final softmax layer. But how can we get mu and sigma for distribution parameters?