Why use unsqueeze() here? #1153
Unanswered
mklingamsetty
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this image, I dont understand why we have to use the unsqueeze method to make the set from a 1D tensor to a 2D tensor. When I ran my code without the unsqueeze method it still worked, the only difference being the output was a 1D tensor.
Beta Was this translation helpful? Give feedback.
All reactions