onnxruntime/winml/test/model
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
..
compare_feature_value.cpp Merged PR 6524907: Fix merge conflicts from public ORT to WindowsAI ORT 2021-10-01 22:47:52 +00:00
compare_feature_value.h Implement comparing outputs that are sequence of maps of strings to floats (#6180) 2020-12-22 09:52:29 -08:00
model_tests.cpp Support per-test tolerances for ONNX tests (#11775) 2022-06-14 15:12:23 -07:00
ort_value_helper.cpp Add ability to skip GPU tests based on GPU adapter name (#6198) 2020-12-22 15:20:23 -08:00
ort_value_helper.h Implement comparing outputs that are sequence of maps of strings to floats (#6180) 2020-12-22 09:52:29 -08:00
skip_model_tests.h Relax tolerance slightly more for Intel after autopilot run 2021-12-02 19:42:31 -08:00