mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 13:49:45 +00:00
Enable QuantizationCouplingTest in NNAPI VTS am: 3c68b3412f am: cd74885540
Change-Id: I3597934821cc3d78735b281adefaa3a8e19d752e
This commit is contained in:
@@ -500,7 +500,7 @@ class GeneratedTest : public GeneratedTestBase {};
|
|||||||
class DynamicOutputShapeTest : public GeneratedTest {};
|
class DynamicOutputShapeTest : public GeneratedTest {};
|
||||||
|
|
||||||
// Tag for the dynamic output shape tests
|
// Tag for the dynamic output shape tests
|
||||||
class DISABLED_QuantizationCouplingTest : public GeneratedTest {};
|
class QuantizationCouplingTest : public GeneratedTest {};
|
||||||
|
|
||||||
TEST_P(GeneratedTest, Test) {
|
TEST_P(GeneratedTest, Test) {
|
||||||
Execute(kDevice, kTestModel, /*testKind=*/TestKind::GENERAL);
|
Execute(kDevice, kTestModel, /*testKind=*/TestKind::GENERAL);
|
||||||
@@ -510,7 +510,7 @@ TEST_P(DynamicOutputShapeTest, Test) {
|
|||||||
Execute(kDevice, kTestModel, /*testKind=*/TestKind::DYNAMIC_SHAPE);
|
Execute(kDevice, kTestModel, /*testKind=*/TestKind::DYNAMIC_SHAPE);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_P(DISABLED_QuantizationCouplingTest, Test) {
|
TEST_P(QuantizationCouplingTest, Test) {
|
||||||
Execute(kDevice, kTestModel, /*testKind=*/TestKind::QUANTIZATION_COUPLING);
|
Execute(kDevice, kTestModel, /*testKind=*/TestKind::QUANTIZATION_COUPLING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -520,7 +520,7 @@ INSTANTIATE_GENERATED_TEST(GeneratedTest,
|
|||||||
INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest,
|
INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest,
|
||||||
[](const TestModel& testModel) { return !testModel.expectFailure; });
|
[](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;
|
return testModel.hasQuant8CoupledOperands() && testModel.operations.size() == 1;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user