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

**URL:** <https://discuss.pytorch.org/t/how-to-check-or-view-the-intermediate-results-or-output-of-a-network/20906>\
**Category:** Uncategorized\
**Created:** [July 9, 2018, 1:13pm UTC](https://discuss.pytorch.org/t/how-to-check-or-view-the-intermediate-results-or-output-of-a-network/20906 "2018-07-09T13:13:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [July 9, 2018, 1:28pm UTC](https://discuss.pytorch.org/t/how-to-check-or-view-the-intermediate-results-or-output-of-a-network/20906/2 "2018-07-09T13:28:18Z")

</div>

You could register forward hooks as shown in [this example](https://pytorch.org/tutorials/beginner/former_torchies/nn_tutorial.html#forward-and-backward-function-hooks).  
If you would like to store the activation in a dict, have a look at [this example](https://discuss.pytorch.org/t/how-can-l-load-my-best-model-as-a-feature-extractor-evaluator/17254/6?u=ptrblck).

---

_[View the full topic](https://discuss.pytorch.org/t/how-to-check-or-view-the-intermediate-results-or-output-of-a-network/20906)._
