diff options
author | Lev Proleev <levp@google.com> | 2020-01-09 16:37:28 +0000 |
---|---|---|
committer | Lev Proleev <levp@google.com> | 2020-01-09 16:40:41 +0000 |
commit | baac15d5fd9678b1bb3b69b764e069b43407c272 (patch) | |
tree | a42d3c762fbc2aea5dba831ba0f023e61ab55cb4 /neuralnetworks | |
parent | 6744b76ef420f4b2d4b728dca29e2b0011265e96 (diff) | |
download | platform_hardware_interfaces-baac15d5fd9678b1bb3b69b764e069b43407c272.tar.gz platform_hardware_interfaces-baac15d5fd9678b1bb3b69b764e069b43407c272.tar.bz2 platform_hardware_interfaces-baac15d5fd9678b1bb3b69b764e069b43407c272.zip |
Enable QuantizationCouplingTest in NNAPI VTS
Bug: 137828994
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I9b4f20ab0287be9cae9fc1b69a8f64cc8f1996b0
Diffstat (limited to 'neuralnetworks')
-rw-r--r-- | neuralnetworks/1.3/vts/functional/GeneratedTestHarness.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/neuralnetworks/1.3/vts/functional/GeneratedTestHarness.cpp b/neuralnetworks/1.3/vts/functional/GeneratedTestHarness.cpp index e3c537635a..eced063416 100644 --- a/neuralnetworks/1.3/vts/functional/GeneratedTestHarness.cpp +++ b/neuralnetworks/1.3/vts/functional/GeneratedTestHarness.cpp @@ -500,7 +500,7 @@ class GeneratedTest : public GeneratedTestBase {}; class DynamicOutputShapeTest : public GeneratedTest {}; // Tag for the dynamic output shape tests -class DISABLED_QuantizationCouplingTest : public GeneratedTest {}; +class QuantizationCouplingTest : public GeneratedTest {}; TEST_P(GeneratedTest, Test) { Execute(kDevice, kTestModel, /*testKind=*/TestKind::GENERAL); @@ -510,7 +510,7 @@ TEST_P(DynamicOutputShapeTest, Test) { Execute(kDevice, kTestModel, /*testKind=*/TestKind::DYNAMIC_SHAPE); } -TEST_P(DISABLED_QuantizationCouplingTest, Test) { +TEST_P(QuantizationCouplingTest, Test) { Execute(kDevice, kTestModel, /*testKind=*/TestKind::QUANTIZATION_COUPLING); } @@ -520,7 +520,7 @@ INSTANTIATE_GENERATED_TEST(GeneratedTest, INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest, [](const TestModel& testModel) { return !testModel.expectFailure; }); -INSTANTIATE_GENERATED_TEST(DISABLED_QuantizationCouplingTest, [](const TestModel& testModel) { +INSTANTIATE_GENERATED_TEST(QuantizationCouplingTest, [](const TestModel& testModel) { return testModel.hasQuant8CoupledOperands() && testModel.operations.size() == 1; }); |