Stabilization of training with cross-entropy, multi-class-cross-entropy, and log-logistic activation function