Learning queuing networks by recurrent neural networks