# Intermediate tensors in NeMo

**URL:** <https://discuss.pytorch.org/t/intermediate-tensors-in-nemo/86714>\
**Category:** audio\
**Created:** [June 24, 2020, 12:22pm UTC](https://discuss.pytorch.org/t/intermediate-tensors-in-nemo/86714 "2020-06-24T12:22:23Z")\
**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:** [June 25, 2020, 5:03am UTC](https://discuss.pytorch.org/t/intermediate-tensors-in-nemo/86714/2 "2020-06-25T05:03:50Z")

</div>

For a general PyTorch model you could use forward hooks to get the intermediate activations as described [here](https://discuss.pytorch.org/t/how-can-l-load-my-best-model-as-a-feature-extractor-evaluator/17254/6). Since NeMo seems to be using a PyTorch model internally, you would have to access its layers to register the hooks.

---

_[View the full topic](https://discuss.pytorch.org/t/intermediate-tensors-in-nemo/86714)._
