Prune Layers of a model

Hello,

Is there any way to prune an entire layer of a model. I have read the Pruning Tutorial but it is only on pruning weights I need to prune a layer!!!

Thank you.