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

export deleteFunction in torch/csrc/autograd/function.h #22236

wants to merge 1 commit into from


Copy link

@t-vi t-vi commented Jun 25, 2019

In torch/csrc/autograd/function.h we define torch::autograd::Function, a (the?) central autograd record-holding class. Function is declared public API (TORCH_API).

We also define a custom deleter deleteFunction which we use throughout PyTorch's own use of Function. This trivial PR declares the deleter public API as well.

Copy link

@facebook-github-bot facebook-github-bot left a comment

@yf225 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.


Copy link

@facebook-github-bot facebook-github-bot commented Jun 26, 2019

@yf225 merged this pull request in c1fc2f2.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants