Skip to content

Commit

Permalink
remove excessive thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
alvoron committed Feb 26, 2025
1 parent b82c950 commit 2385139
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,8 @@ class ConvsAndSums : virtual public SubgraphBaseStaticTest {

auto result = std::make_shared<ov::op::v0::Result>(relu3);
function = std::make_shared<ov::Model>(result, params, "SimpleNet");
if (core->get_property(targetDevice, ov::hint::inference_precision) == ov::element::f16) {
abs_threshold = 3e-1;
} else {
abs_threshold = 9e-4;
}

abs_threshold = 9e-4;
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ void FakeQuantizeLayerTest::SetUp() {
if (fq_direct_arg.size() != 0) {
abs_threshold = (fq_direct_arg[3] - fq_direct_arg[2]) / levels;
}
if (core->get_property(targetDevice, ov::hint::inference_precision) == ov::element::f16) {
abs_threshold = 7e-2;
}
auto param = std::make_shared<ov::op::v0::Parameter>(model_type, inputDynamicShapes.front());

std::shared_ptr<ov::Node> fq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ void IntegerReduceMeanTest::SetUp() {
} else {
reduce_mean = std::make_shared<ov::op::v1::ReduceMean>(dataNode, axesNode, true);
}
if (core->get_property(targetDevice, ov::hint::inference_precision) == ov::element::f16) {
abs_threshold = 3e-1;
}

ov::ParameterVector inputs;
inputs.push_back(dataNode);
Expand Down

0 comments on commit 2385139

Please sign in to comment.