Detects the NCHW slicing pattern for optimization purposes.
the detected pattern type
the list of slice descriptors for a 4D NCHW tensor