How much should you feed an underweight German shepherd?

500-600 grams of a dry complete food which is high in fat and some meat if you want a day.
If he doesn't eat that amount then give him a little less, if he still seems hungry after that amount, maybe 100 grams more.