contiguous minimally initialized n-dimensional reference-counted (thread-safe) slice
import mir.ndslice.slice: Slice; import mir.rc.array: RCI; auto tensor = mininitRcslice!int(5, 6, 7); assert(tensor.length == 5); assert(tensor.elementCount == 5 * 6 * 7); static assert(is(typeof(tensor) == Slice!(RCI!int, 3)));
Allocates a minimally initialized n-dimensional reference-counted (thread-safe) slice.