Returns the number of dimensions of a slice.
n-dimensional slice
number of dimensions
import mir.ndslice.topology : iota; auto e = iota(2, 3, 1, 3); assert(e.ndim == 4);
See Implementation
Returns the number of dimensions of a slice.