-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infer layout for
slice_copy
based on layout and range
Update `TensorBase::slice_copy` to match `slice_with` by inferring the layout of the result based on the current tensor's layout and the slice range. Unlike `slice_with` a breaking change was made directly to the original API as it is much less widely used than `slice`.
- Loading branch information
1 parent
aecc370
commit 1861a89
Showing
1 changed file
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters