# Proper way to assign tensor to a Parameter

**URL:** <https://discuss.pytorch.org/t/proper-way-to-assign-tensor-to-a-parameter/143696>\
**Category:** Uncategorized\
**Created:** [February 9, 2022, 7:08pm UTC](https://discuss.pytorch.org/t/proper-way-to-assign-tensor-to-a-parameter/143696 "2022-02-09T19:08:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![thatgeeman](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/thatgeeman/32/44760_2.png) [@thatgeeman](https://discuss.pytorch.org/u/thatgeeman)\
**Post date:** [February 9, 2022, 11:12pm UTC](https://discuss.pytorch.org/t/proper-way-to-assign-tensor-to-a-parameter/143696/3 "2022-02-09T23:12:04Z")

</div>

Yup, not sure of the use actual use case but there’s a similar thread [here](https://discuss.pytorch.org/t/how-to-manually-set-the-weights-in-a-two-layer-linear-model/45902).

---

_[View the full topic](https://discuss.pytorch.org/t/proper-way-to-assign-tensor-to-a-parameter/143696)._
