squeeze/remove redundant size-1 dimension (axis) d
import mir.ndslice; auto x = iota(3, 4, 1, 5).as!double.slice.variable; assert(x.squeeze!2.shape == [3, 4, 5]);
See Implementation
squeeze/remove redundant size-1 dimension (axis) d