TensorOwner.slicedAs

Returns a tensor slice as same as a given slice with assertions.

struct TensorOwner
Slice!(T*, N, Contiguous)
slicedAs
(
Iterator
SliceKind kind
T = typeof(Iterator.init[0])
)
(
Slice!(Iterator, N, kind) slice
)

Meta