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

Replace old tensor slicing methods with new API #367

Merged
merged 1 commit into from
Sep 20, 2024

Commits on Sep 20, 2024

  1. Replace old tensor slicing methods with new API

    Remove the old `TensorBase::{slice, slice_mut, slice_dyn, slice_mut_dyn}`
    implementations and replace them with the `slice_with` APIs that infer the
    result layout type based on the input layout and slice range.
    
    This now leaves the API with a smaller and easier to use set of methods for
    slicing, which automatically infer the output view's layout.
    robertknight committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    230d6e8 View commit details
    Browse the repository at this point in the history