Investigating the optimization of morphological layers using the Bouligand derivative and chain rule, highlighting challenges and insights for training.