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

Implement the () operator on sparse tensors #837

Merged
merged 3 commits into from
Jan 24, 2025
Merged

Conversation

aartbik
Copy link
Contributor

@aartbik aartbik commented Jan 22, 2025

Note that is a fully functional "locator" for the () operator that works for all versatile sparse tensors. Currently, the operator is defined at sparse_tensor level, but it should be moved into tensor_impl after this. Also, clients should always be aware that the () operator for compressed levels are not random-access, but involve a search to find if the element is stored.

Note that is a fully functional "locator" for the () operator
that works for *all* versatile sparse tensors. Currently, the
operator is defined at sparse_tensor level, but it should be
moved into tensor_impl after this. Also, clients should always
be aware that the () operator for compressed levels are *not*
random-access, but involve a search to find if the element is
stored.
@cliffburdick
Copy link
Collaborator

/build

@cliffburdick cliffburdick merged commit 68a8c12 into NVIDIA:main Jan 24, 2025
@cliffburdick cliffburdick deleted the bak branch January 24, 2025 22:52
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