onnxruntime/winml
Gary Miguel e8b0d24071
Support per-test tolerances for ONNX tests (#11775)
Prior to this every test shared the same tolerances. This meant
that if an ONNX test failed due to a small but acceptable difference in
output, the only alternative was to disable the test entirely.

In op set 17, the DFT operator is being added. Without this change, the
tests for that operator fail because the output is off by about 5e-5.
It's better to keep test coverage for this new op rather than disable
the test entirely.

Also prior to this change, the global tolerances were not shared between
C++, JavaScript, and Python tests. Now they are.

Also fix various minor issues raised by linters.

Unblocks https://github.com/microsoft/onnxruntime/issues/11640.
2022-06-14 15:12:23 -07:00
..
adapter All LearningModelSessions created from a common LearningModelDevice should share the same thread pool (#11457) 2022-05-13 11:12:43 -07:00
api Revert "add load from buffer (#10162)" (#10590) 2022-03-08 13:35:23 -08:00
dll Enable JoinModels API in WinML+RT Experimental API (#9746) 2021-11-12 16:56:31 -08:00
lib All LearningModelSessions created from a common LearningModelDevice should share the same thread pool (#11457) 2022-05-13 11:12:43 -07:00
test Support per-test tolerances for ONNX tests (#11775) 2022-06-14 15:12:23 -07:00