Hyperparameter Optimization through Neural Network Partitioning