Recognizing recurrent neural networks (rRNN): Bayesian inference for recurrent neural networks