From c3da78ad14eed7c025a7a3be59c4cfe759e3151b Mon Sep 17 00:00:00 2001 From: Przemyslaw Szczepaniak Date: Wed, 12 Dec 2018 13:13:32 +0000 Subject: Add support for QUANT8_SYMM_PER_CHANNEL as graph input Bug: 119255406 Test: Vts/Cts NNAPI tests. Change-Id: If7407355f7c1ac878f919369c06ec98592e3f3d4 Merged-In: If7407355f7c1ac878f919369c06ec98592e3f3d4 (cherry picked from commit 429096160dc102b531a37b29dcdfeab07d7ec212) --- neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp b/neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp index 7c5b0bc0c4..3b4eb217aa 100644 --- a/neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp +++ b/neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp @@ -72,7 +72,8 @@ void copy_back(MixedTyped* dst, const std::vector& ra, char* sr copy_back_(dst, ra, src); copy_back_<_Float16>(dst, ra, src); copy_back_(dst, ra, src); - static_assert(6 == std::tuple_size::value, + copy_back_(dst, ra, src); + static_assert(7 == std::tuple_size::value, "Number of types in MixedTyped changed, but copy_back function wasn't updated"); } -- cgit v1.2.3