You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a question about the code. The code here includes a view operation, but view is not an in-place operation in pytorch. An example is shown below, where I use 1.13.1+cu117.
I am confused. Would you please explain the utility of the view operation here? I think this line is unnecessary.
The text was updated successfully, but these errors were encountered:
Hi, I have a question about the code. The code here includes a
view
operation, butview
is not an in-place operation in pytorch. An example is shown below, where I use1.13.1+cu117
.I am confused. Would you please explain the utility of the
view
operation here? I think this line is unnecessary.The text was updated successfully, but these errors were encountered: