Auto-tuning of Deep Neural Networks by Conflicting Layer Removal