Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of torch::autograd::Variable #369

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

akihironitta
Copy link
Member

Replaces Variable with Tensor as per the docs:

The only reason we are keeping the Variable class is backward compatibility with external user’s legacy C++ frontend code. Our intention is to eliminate the Variable class in the near future.

https://pytorch.org/cppdocs/api/typedef_namespacetorch_1_1autograd_1aa5771cd953999c4b07b2a022f9d8f1d0.html

@github-actions github-actions bot added the ops label Dec 28, 2024
@akihironitta akihironitta merged commit fdec9bd into master Dec 30, 2024
12 of 13 checks passed
@akihironitta akihironitta deleted the aki/var-to-tensor branch December 30, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant