openvino
openvino copied to clipboard
Fix #23553: [OP CONFORMANCE][TEMPLATE] Interpolate test fails in op c…
The test case failed because it uses a channel-last input pattern, while the linear_onnx_func() assume that all input data have the batch and channel in their first two dimensions. I've added extra condition check in the channel-last case and made it valid to continue the following operations.
Note: The implementation for channel-last input should be different from current one. However, after the input check has been changed, the test case passed already, so I didn't change the following implementation. Please let me know if there are concerns with this and I am happy to add extra adjustment.