fn inner_slice(&self, x1: usize, x2: usize) -> &[T] {
        let offset = self.offset([0, x1, x2]);
        &self.data[offset..offset + self.lengths[0]]
    }
All entries with the given outer dimensions. As the first dimension
is fastest varying, this is a contiguous slice.
src/hog.rs