init serving layer