printf num_neurons training function