Tensor contiguity and view #35
-
I'm a little confused by the use of https://pytorch.org/docs/stable/generated/torch.Tensor.view.html |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Good point, I was previously thinking about that but then I used |
Beta Was this translation helpful? Give feedback.
Good point, I was previously thinking about that but then I used
.view()
everywhere else in the book so I used that here for consistency. Maybe.reshape
would be a bit more elegant here ... something to think about. Thanks for highlighting that!