Skip to content

Conversation

jerryzh168
Copy link
Contributor

Summary:
Pull Request resolved: #13641

FeedTensor function used to take a pointer to Tensor and feed the content using Resize
and mutable_data, but since Tensor is a pointer now, we can just return a Tensor instead.

Differential Revision: D13091163

Summary:
Pull Request resolved: pytorch#14196

Pull Request resolved: pytorch#13641

FeedTensor function used to take a pointer to Tensor and feed the content using Resize
and mutable_data, but since Tensor is a pointer now, we can just return a Tensor instead.

Reviewed By: dzhulgakov

Differential Revision: D13091163

fbshipit-source-id: 7803baebdb438e02a71f9a43d248ef40790cadac
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.

3 participants