allow layer wise configurations beforehand