All lavender is edible, however, certain varieties of lavender are best for cooking (so you avoid the soapy smell and taste). English lavender is a popular type to cook with, for instance. Fresh lavender from the garden is a great option to decorate the cake with, however, dried lavender is best for cooking/baking.