aboutsummaryrefslogtreecommitdiff
path: root/ModelToINetworkConverter.cpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2018-09-04 16:28:10 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-09-18 12:40:40 +0100
commit79250ab173e7dfa2c6057854c0d4b8dafe377fb0 (patch)
tree7b52e6cf32c30b27440a68efc3cb5733b5ccedfe /ModelToINetworkConverter.cpp
parente48bdff741568236d3c0747ad3d18a8eba5b36dd (diff)
downloadandroid-nn-driver-79250ab173e7dfa2c6057854c0d4b8dafe377fb0.tar.gz
IVGCVSW-1806 Restored the fp16 flag left behind during the previous
refactoring * Split getCapabilities and getCapabilities_1_1 as it was before * Setting relaxedFloat32toFloat16Performance when using HAL 1.1 as required by one of the VTS test Change-Id: Iff883b8cbd0511596e9848fa40e91e4fa58d4260
Diffstat (limited to 'ModelToINetworkConverter.cpp')
-rw-r--r--ModelToINetworkConverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ModelToINetworkConverter.cpp b/ModelToINetworkConverter.cpp
index 6db32a05..6ae1cb57 100644
--- a/ModelToINetworkConverter.cpp
+++ b/ModelToINetworkConverter.cpp
@@ -653,7 +653,7 @@ bool ModelToINetworkConverter<HalVersion>::ConvertOperation(const neuralnetworks
}
}
-#if defined(ARMNN_ANDROID_NN_V1_1)
+#if defined(ARMNN_ANDROID_NN_V1_1) // Using ::android::hardware::neuralnetworks::V1_1.
template<typename HalVersion>
bool ModelToINetworkConverter<HalVersion>::ConvertOperation(const neuralnetworks::V1_1::Operation& operation)
{