summaryrefslogtreecommitdiffstats
path: root/neuralnetworks/1.0
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2018-12-12 13:13:32 +0000
committerMichael K. Sanders <mks@google.com>2019-01-09 14:15:52 +0000
commitc3da78ad14eed7c025a7a3be59c4cfe759e3151b (patch)
tree81cde509a211ef91ceab6d2dfd86b15bce918806 /neuralnetworks/1.0
parent000c3dfcb7061a48fca96eae56b931f6004bcc77 (diff)
downloadplatform_hardware_interfaces-c3da78ad14eed7c025a7a3be59c4cfe759e3151b.tar.gz
platform_hardware_interfaces-c3da78ad14eed7c025a7a3be59c4cfe759e3151b.tar.bz2
platform_hardware_interfaces-c3da78ad14eed7c025a7a3be59c4cfe759e3151b.zip
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)
Diffstat (limited to 'neuralnetworks/1.0')
-rw-r--r--neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp3
1 files changed, 2 insertions, 1 deletions
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<RequestArgument>& ra, char* sr
copy_back_<int16_t>(dst, ra, src);
copy_back_<_Float16>(dst, ra, src);
copy_back_<bool8>(dst, ra, src);
- static_assert(6 == std::tuple_size<MixedTyped>::value,
+ copy_back_<int8_t>(dst, ra, src);
+ static_assert(7 == std::tuple_size<MixedTyped>::value,
"Number of types in MixedTyped changed, but copy_back function wasn't updated");
}