Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/lazy_tensor_operations.jl @ 537:41e82a5d4d48 feature/inflated_tensormapping_transpose
Docs touch up
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 26 Nov 2020 17:43:05 +0100 |
parents | aac7cc1fa79a |
children | 848dec405332 |
comparison
equal
deleted
inserted
replaced
536:fc0f942b8792 | 537:41e82a5d4d48 |
---|---|
288 | 288 |
289 Splits the multi-index `I` into two parts. One part which is expected to be | 289 Splits the multi-index `I` into two parts. One part which is expected to be |
290 used as a view, and one which is expected to be used as an index. | 290 used as a view, and one which is expected to be used as an index. |
291 Eg. | 291 Eg. |
292 ``` | 292 ``` |
293 (1,2,3,4) -> (1,:,:,:,4), (2,3) | 293 split_index(Val(1),Val(3),Val(2),Val(1),(1,2,3,4)) -> (1,:,:,:,4), (2,3) |
294 ``` | 294 ``` |
295 | 295 |
296 `dim_view` controls how many colons are in the view, and `dim_index` controls | 296 `dim_view` controls how many colons are in the view, and `dim_index` controls |
297 how many elements are extracted from the middle. | 297 how many elements are extracted from the middle. |
298 `dim_before` and `dim_after` decides the length of the index parts before and after the colons in the view index. | 298 `dim_before` and `dim_after` decides the length of the index parts before and after the colons in the view index. |