[DO NOT MERGE] Fix to issue #25537 !27546
Created by: jczaja
This is a fix to #25537.
PR types
Bug fixes
PR changes
Others
Describe
Fix a misuse of Tensor::layout for purpose of oneDNN NHWC arrangment implementation and It does adjust transpose oneDNN kernel for NHWC arrangmeent. Tranpose kernel has to be modified as this is oneDNN kernel , but it does produce non-oneDNN tensor , so output shape for NHWC model has to be matched.