-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
index_fill
taking sequence / array / tensor
To allow ```nim t[[0, 2]] = [1, 2] # optionally seq or tensor t[@[0, 2]] = [1, 2] t[toTensor [0, 2]] = [1, 2] ``` filling multiple indices at same time from a array/seq/tensor. Previously this only supported to set all indices given to the same value.
- Loading branch information
Showing
1 changed file
with
32 additions
and
1 deletion.
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