Layer_Shape: migration of parameters to ValueBase type.