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

Support ranges with unknown index count in slice_with #363

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

robertknight
Copy link
Owner

Support slicing tensors with ranges that have a runtime-determined index count in TensorBase::slice_with. In such cases the resulting view has a dynamic-rank layout. This allows this method to replace existing usage of slice_dyn.

Support slicing tensors with ranges that have a runtime-determined index count
in `TensorBase::slice_with`. In such cases the resulting view has a dynamic-rank
layout. This allows this method to replace existing usage of `slice_dyn`.
@robertknight robertknight merged commit a98f09d into main Sep 18, 2024
2 checks passed
@robertknight robertknight deleted the slice-with-dyn branch September 18, 2024 08:17
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.

1 participant