Replies: 1 comment
-
Hi massonix, In your case, both The
I hope this helps. Best wishes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Thanks for this wonderful course!
I have a question related with the following code
From the video, I understood that the main difference between view and reshape is that reshape allocates the tensor a to new memory, while view shares the same memory as tensor. I thought this would translate in the fact that if you update an element of b, then tensor would also be updated, while this would not be the case for a. Instead however, both of them are updated
Could you please explain me why that is? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions