aboutsummaryrefslogtreecommitdiff
path: root/delegate/opaque/src/OpaqueDelegateUtils.hpp
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2023-04-27 14:42:23 +0100
committerTeresa Charlin <teresa.charlinreyes@arm.com>2023-04-27 15:24:11 +0100
commitf69ae5602f370b8f108618a8f01e39a9538d3651 (patch)
tree803e756259b8ad277fdcded79f381806994492ac /delegate/opaque/src/OpaqueDelegateUtils.hpp
parent0cc93ab9e7cee6a0fc43f73c3520d3579464ce72 (diff)
downloadarmnn-f69ae5602f370b8f108618a8f01e39a9538d3651.tar.gz
IVGCVSW-7589 IVGCVSW-7595 IVGCVSW-7593 ElementwiseUnary, Normalization and LogicalBinary operators for opaque delegate
* Report the operator as part of the layer name for: - LogicalBinary, - ElementwiseUnary - Comparison - Activation * Fixing indentation in Gather.hpp * Removing not needed includes in Gather, GatherNd and Comparison * Correct end of namespace comment in Comparison * Correct log from TfLiteArmnnDelegate to TfLiteArmnnOpaqueDelegate Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ia0d497709309e912d31eb4b6db0fef9e79b7a3af
Diffstat (limited to 'delegate/opaque/src/OpaqueDelegateUtils.hpp')
-rw-r--r--delegate/opaque/src/OpaqueDelegateUtils.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate/opaque/src/OpaqueDelegateUtils.hpp b/delegate/opaque/src/OpaqueDelegateUtils.hpp
index 1fbfade038..fd943c8ec9 100644
--- a/delegate/opaque/src/OpaqueDelegateUtils.hpp
+++ b/delegate/opaque/src/OpaqueDelegateUtils.hpp
@@ -424,7 +424,7 @@ armnn::DataType GetDataType(const TfLiteOpaqueTensor* tfLiteTensor)
return armnn::DataType::Signed64;
default:
throw armnn::Exception(
- &"TfLiteArmnnDelegate: Unsupported data type: " [ TfLiteOpaqueTensorType(tfLiteTensor) ]);
+ &"TfLiteArmnnOpaqueDelegate: Unsupported data type: " [ TfLiteOpaqueTensorType(tfLiteTensor) ]);
}
}
@@ -528,7 +528,7 @@ armnn::ConstTensor CreateConstTensor(const TfLiteOpaqueTensor* tfLiteTensor,
auto allocType = TfLiteOpaqueTensorGetAllocationType(tfLiteTensor);
if (allocType != kTfLiteMmapRo)
{
- throw armnn::Exception("TfLiteArmnnDelegate: Not constant allocation type: " + std::to_string(allocType));
+ throw armnn::Exception("TfLiteArmnnOpaqueDelegate: Not constant allocation type: " + std::to_string(allocType));
}
return armnn::ConstTensor(tensorInfo, TfLiteOpaqueTensorData(tfLiteTensor));