Neural network training as a dissipative process. (September 2016)