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

[torch] Support lowering torch.item to tensor.extract #2835

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

rsuderman
Copy link
Contributor

Extracting scalar values from tensors can be implemented via a lowering
to tensor.extract.

Extracting scalar values from tensors can be implemented via a lowering
to tensor.extract.
@rsuderman rsuderman requested a review from renxida January 31, 2024 01:20
@rsuderman rsuderman merged commit 0114a57 into llvm:main Jan 31, 2024
3 checks passed
@rsuderman rsuderman deleted the aten_item branch February 1, 2024 19:04
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.

2 participants