Fix IE_CPU.exp_* nGraph UT on Mac (#5796)
* Revert "Azure CI: Exclude IE_CPU.exp_* nGraph UT on Mac"
This reverts commit c9672ee9ec
.
* Increased tolerance in exp_* backend tests.
This commit is contained in:
parent
d44ae0d948
commit
04f42d8442
@ -105,7 +105,7 @@ jobs:
|
||||
workingDirectory: $(BUILD_DIR)
|
||||
displayName: 'Install'
|
||||
|
||||
- script: $(BIN_DIR)/unit-test --gtest_print_time=1 --gtest_filter=-backend_api.config_unsupported:*IE_GPU*:IE_CPU.onnx_model_sigmoid:IE_CPU/GRUSequenceOp.onnx_model_gru*:IE_CPU.exp_* --gtest_output=xml:TEST-NGraphUT.xml
|
||||
- script: $(BIN_DIR)/unit-test --gtest_print_time=1 --gtest_filter=-backend_api.config_unsupported:*IE_GPU*:IE_CPU.onnx_model_sigmoid:IE_CPU/GRUSequenceOp.onnx_model_gru* --gtest_output=xml:TEST-NGraphUT.xml
|
||||
displayName: 'nGraph UT'
|
||||
continueOnError: false
|
||||
|
||||
|
@ -69,7 +69,7 @@ NGRAPH_TEST(${BACKEND_NAME}, exp_scalar)
|
||||
auto test_case = test::TestCase<TestEngine>(f);
|
||||
test_case.add_input<float>({a});
|
||||
test_case.add_expected_output<float>(shape, {expf(13)});
|
||||
test_case.run();
|
||||
test_case.run(DEFAULT_FLOAT_TOLERANCE_BITS + 2);
|
||||
}
|
||||
|
||||
NGRAPH_TEST(${BACKEND_NAME}, exp_in_place)
|
||||
@ -86,5 +86,5 @@ NGRAPH_TEST(${BACKEND_NAME}, exp_in_place)
|
||||
auto test_case = test::TestCase<TestEngine>(f);
|
||||
test_case.add_input<float>({a});
|
||||
test_case.add_expected_output<float>(shape, {expf(expf(1)), expf(expf(3))});
|
||||
test_case.run();
|
||||
test_case.run(DEFAULT_FLOAT_TOLERANCE_BITS + 2);
|
||||
}
|
Loading…
Reference in New Issue
Block a user