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

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
5 participants
@t-vi
Copy link
Collaborator

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.

@facebook-github-bot
Copy link
Contributor

left a comment

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

@facebook-github-bot

This comment has been minimized.

Copy link
Contributor

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
You can’t perform that action at this time.