How to check or view the intermediate results or output of a network?

You could register forward hooks as shown in this example.
If you would like to store the activation in a dict, have a look at this example.