Temperature Balancing, Layer-wise Weight Analysis, and Neural Network Training