Principled Architecture-aware Scaling of Hyperparameters