Supervised learning with generalized tensor networks.
A learning algorithm for Boltzmann machines