Skip to content

Conversation

@vincentqb
Copy link
Contributor

@vincentqb vincentqb commented Jan 15, 2020

Replace reshape by view when batching since batching shouldn't require copying the data., as mentioned in comment.

@vincentqb vincentqb marked this pull request as ready for review January 17, 2020 16:05
@vincentqb vincentqb merged commit 60fd113 into pytorch:master Jan 17, 2020
@vincentqb vincentqb deleted the view branch January 17, 2020 16:30
cpuhrsch added a commit that referenced this pull request Apr 29, 2020
vincentqb pushed a commit that referenced this pull request Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants