openvino
0a9686ff - [ONNX] Add support for ONNX STFT with 2D signal input - use ov::STFT instead of decomposition (#34818)

Commit
16 days ago
[ONNX] Add support for ONNX STFT with 2D signal input - use ov::STFT instead of decomposition (#34818) ### Details: [ONNX] Add support for ONNX STFT with 2D signal input - use ov::STFT instead of decomposition - This PR unblocks conversion of onnx models having ONNX STFT with 2D signal input - Add support for ONNX STFT with 2D signal input - currenlty ONNX FE doesn't support it and throw error when 2D input is provided, ONNX FE doesn't convert ONNX STFT with usage of ov::op::v15::STFT - it makes decomposition to DFT. * Note: Even if 2D input is not described in onnx spec, it is allowed by onnx model checker, spotted in real models and supported by frameworks (including ov STFT). The 2D shape is compatible with 3D case [batch, signal_length, 1] -> [batch, signal_length] This activity should be continued to utilize in ONNX FE the ov::STFT directly rather than decomposition in more cases - but need to be in sync with plugins support and perf compatibility. In the proposed PR the changes are minimized to ensure backward compatibility - it is fully backward compatible as 2D case was not supported at all. ### Tickets: - 182678 ### AI Assistance: - *AI assistance used: yes* - *Brainstorming, refactoring - validated by build, tests, review*
Author
Parents
Loading