Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3c815b3 authored by Slava Shklyaev's avatar Slava Shklyaev Committed by Android (Google) Code Review
Browse files

Merge "Update paths to NNAPI VTS models"

parents 65653b4a 82268614
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ using ::test_helper::MixedTypedExample;
std::vector<Request> createRequests(const std::vector<MixedTypedExample>& examples);

// in frameworks/ml/nn/runtime/tests/generated/
#include "all_generated_V1_0_vts_tests.cpp"
#include "vts/V1_0/all_generated_V1_0_vts_tests.cpp"

}  // namespace functional
}  // namespace vts
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ using ::test_helper::MixedTypedExample;
std::vector<Request> createRequests(const std::vector<MixedTypedExample>& examples);

// in frameworks/ml/nn/runtime/tests/generated/
#include "all_generated_V1_0_vts_tests.cpp"
#include "vts/V1_1/all_generated_V1_0_vts_tests.cpp"

}  // namespace functional
}  // namespace vts
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ using ::test_helper::MixedTypedExample;
std::vector<Request> createRequests(const std::vector<MixedTypedExample>& examples);

// in frameworks/ml/nn/runtime/tests/generated/
#include "all_generated_V1_1_vts_tests.cpp"
#include "vts/V1_1/all_generated_V1_1_vts_tests.cpp"

}  // namespace functional
}  // namespace vts
+2 −2
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ namespace float32_model {

// In frameworks/ml/nn/runtime/test/generated/, creates a hidl model of float32 mobilenet.
#include "examples/mobilenet_224_gender_basic_fixed.example.cpp"
#include "vts_models/mobilenet_224_gender_basic_fixed.model.cpp"
#include "vts/V1_2/models/mobilenet_224_gender_basic_fixed.model.cpp"

// Prevent the compiler from complaining about an otherwise unused function.
[[maybe_unused]] auto dummy_createTestModel = createTestModel_dynamic_output_shape;
@@ -73,7 +73,7 @@ namespace quant8_model {

// In frameworks/ml/nn/runtime/test/generated/, creates a hidl model of quant8 mobilenet.
#include "examples/mobilenet_quantized.example.cpp"
#include "vts_models/mobilenet_quantized.model.cpp"
#include "vts/V1_2/models/mobilenet_quantized.model.cpp"

// Prevent the compiler from complaining about an otherwise unused function.
[[maybe_unused]] auto dummy_createTestModel = createTestModel_dynamic_output_shape;
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ using ::test_helper::MixedTypedExample;
std::vector<Request> createRequests(const std::vector<MixedTypedExample>& examples);

// in frameworks/ml/nn/runtime/tests/generated/
#include "all_generated_V1_0_vts_tests.cpp"
#include "vts/V1_2/all_generated_V1_0_vts_tests.cpp"

}  // namespace functional
}  // namespace vts
Loading