# How to exclude Embedding layer from Model.parameters()?

**URL:** <https://discuss.pytorch.org/t/how-to-exclude-embedding-layer-from-model-parameters/1283>\
**Category:** Uncategorized\
**Created:** [March 23, 2017, 2:55am UTC](https://discuss.pytorch.org/t/how-to-exclude-embedding-layer-from-model-parameters/1283 "2017-03-23T02:55:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![albanD](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/alband/32/215_2.png) [@albanD](https://discuss.pytorch.org/u/albanD)\
**Post date:** [March 23, 2017, 10:48am UTC](https://discuss.pytorch.org/t/how-to-exclude-embedding-layer-from-model-parameters/1283/5 "2017-03-23T10:48:44Z")

</div>

Hi,

Please see this post [Freeze the learnable parameters of resnet and attach it to a new network](https://discuss.pytorch.org/t/freeze-the-learnable-parameters-of-resnet-and-attach-it-to-a-new-network/949/9) that solves exactly your problem.

---

_[View the full topic](https://discuss.pytorch.org/t/how-to-exclude-embedding-layer-from-model-parameters/1283)._
