train function

Continue training of a Neural Network