# Which parameter is pass in view function?

**URL:** <https://discuss.pytorch.org/t/which-parameter-is-pass-in-view-function/38655>\
**Category:** Uncategorized\
**Created:** [March 1, 2019, 3:48pm UTC](https://discuss.pytorch.org/t/which-parameter-is-pass-in-view-function/38655 "2019-03-01T15:48:55Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [December 24, 2019, 9:55pm UTC](https://discuss.pytorch.org/t/which-parameter-is-pass-in-view-function/38655/12 "2019-12-24T21:55:04Z")

</div>

No, each passed value results in the desired shape of the new view on this tensor.  
Have a look at [this post](https://discuss.pytorch.org/t/contigious-vs-non-contigious-tensor/30107/2) for some additional information. It’s more focused on the `contiguous` call, however it might also give you a better idea about the `view` operation.

---

_[View the full topic](https://discuss.pytorch.org/t/which-parameter-is-pass-in-view-function/38655)._
