Skip to content

Conversation

@lucasb-eyer
Copy link
Contributor

This replaces the calls to torch.FloatTensor by a call to .new on the input tensor, such that GPU types are respected.

This replaces the calls to `torch.FloatTensor` by a call to `.new` on the input tensor, such that GPU types are respected.
@chsasank chsasank merged commit ab62128 into pytorch:master Mar 29, 2018
@chsasank
Copy link
Contributor

Thanks, sorry for very late response.

rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
This replaces the calls to `torch.FloatTensor` by a call to `.new` on the input tensor, such that GPU types are respected.
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