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

Consider adding is_leaf attribute to TensorProxies #1577

Open
beverlylytle opened this issue Dec 20, 2024 · 0 comments
Open

Consider adding is_leaf attribute to TensorProxies #1577

beverlylytle opened this issue Dec 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@beverlylytle
Copy link
Collaborator

In the context of raising errors on inplace operations on leaf tensors requiring grad, it may be beneficial to add an is_leaf attribute to TensorProxies in a manner similar to the addition of the attribute requires_grad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant