The output indicates an issue between the slicing where a permutation might be needed, but I’m not sure which method causes it.
Could you run the same test you’ve used for the tensor slicing operation on the OpenCV arrays and check, which operation interleaves the data?