From Tensor Network Quantum States to Tensorial Recurrent Neural Networks