Before revision:  We propose a general probabilistic framework which relies on the principle of maximizing the likelihood for the network to solve the task .
After revision:  We propose a general probabilistic framework which relies on the principle of maximizing the likelihood for the network to reproduce some temporal dynamics .