aboutsummaryrefslogtreecommitdiff
path: root/shim
diff options
context:
space:
mode:
authorColm Donelan <colm.donelan@arm.com>2024-03-29 16:00:24 +0000
committerColm Donelan <colm.donelan@arm.com>2024-04-17 13:46:29 +0000
commit4f1771ab4d321afba9f5a52411855b5dc33bf247 (patch)
treea5772debacfaaea83b078d923633c10715284d98 /shim
parent4e74df277b80db0be5c19b07d9f59575dc7ef3d6 (diff)
downloadarmnn-4f1771ab4d321afba9f5a52411855b5dc33bf247.tar.gz
MLCE-1248 Removing limitations on zero scale value in quantization.
Currently Arm NN will fail to load models containing quantization scale value of zero. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Ifefcee1279b8667da63d1aa7d42e5d44875f9fbe
Diffstat (limited to 'shim')
-rw-r--r--shim/sl/canonical/ModelToINetworkTransformer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/shim/sl/canonical/ModelToINetworkTransformer.cpp b/shim/sl/canonical/ModelToINetworkTransformer.cpp
index 8efacaf3bf..4cf2160c8a 100644
--- a/shim/sl/canonical/ModelToINetworkTransformer.cpp
+++ b/shim/sl/canonical/ModelToINetworkTransformer.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2022, 2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -31,7 +31,8 @@ ModelToINetworkTransformer::ModelToINetworkTransformer(
catch (std::exception& e)
{
m_ConversionResult = ConversionResult::UnsupportedFeature;
- VLOG(DRIVER) << "ModelToINetworkTransformer: Unexpected exception: " << e.what();
+ VLOG(DRIVER) << "ModelToINetworkTransformer: Unexpected exception: " << e.what() << " Model was: "
+ << GetModelSummary(model);
assert(false);
}
}