Adding custom net to the pretrained model

Hi Soumith,

In case i want activations from a certain intermediate layer of my model, i should just rewrite the forward function call or is there maybe a more straight forward way to achieve the same. Thanks in anticipation.