Unify the type for layer parameters.