GC-Allocates an uninitialized n-dimensional slice.
list of lengths for each dimension
contiguous uninitialized n-dimensional slice
import mir.ndslice.slice: Slice; auto tensor = uninitSlice!int(5, 6, 7); assert(tensor.length == 5); assert(tensor.elementCount == 5 * 6 * 7); static assert(is(typeof(tensor) == Slice!(int*, 3)));
See Implementation
GC-Allocates an uninitialized n-dimensional slice.