mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
unsqueeze.unsqueeze
mir
ndslice
topology
unsqueeze
Undocumented in source.
Slice
!(
Iterator
,
N
+
1
,
kind
)
unsqueeze
(Slice!(Iterator, N, kind) slice)
template
unsqueeze
(sizediff_t axis = 0)
@
optmath
Slice
!(
Iterator
,
N
+ 1,
kind
)
unsqueeze
(
Iterator
size_t
N
SliceKind
kind
)
(
Slice
!(
Iterator
,
N
,
kind
)
slice
)
Slice
!(
Iterator
,
N
+
1
,
kind
)
unsqueeze
(Slice!(Iterator, N, kind) slice, sizediff_t axis)
Meta
Source
See Implementation
mir
ndslice
topology
unsqueeze
functions
unsqueeze