# Assign variable to model parameter

**URL:** <https://discuss.pytorch.org/t/assign-variable-to-model-parameter/6150>\
**Category:** Uncategorized\
**Created:** [August 12, 2017, 1:12pm UTC](https://discuss.pytorch.org/t/assign-variable-to-model-parameter/6150 "2017-08-12T13:12:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fmassa](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/fmassa/32/58_2.png) [@fmassa](https://discuss.pytorch.org/u/fmassa)\
**Post date:** [August 12, 2017, 6:39pm UTC](https://discuss.pytorch.org/t/assign-variable-to-model-parameter/6150/3 "2017-08-12T18:39:12Z")

</div>

Have a look at the answer in [Why can't model parameters be variables?](https://discuss.pytorch.org/t/why-cant-model-parameters-be-variables/6153/2?u=fmassa)  
Let me know if something is not clear

---

_[View the full topic](https://discuss.pytorch.org/t/assign-variable-to-model-parameter/6150)._
