From ac2770a4bb6461bfbddec928bb6208f26f898f02 Mon Sep 17 00:00:00 2001 From: Narumol Prangnawarat Date: Wed, 1 Apr 2020 16:51:23 +0100 Subject: IVGCVSW-4485 Remove Boost assert * Change boost assert to armnn assert * Change include file to armnn assert * Fix ARMNN_ASSERT_MSG issue with multiple conditions * Change BOOST_ASSERT to BOOST_TEST where appropriate * Remove unused include statements Signed-off-by: Narumol Prangnawarat Change-Id: I5d0fa3a37b7c1c921216de68f0073aa34702c9ff --- src/backends/reference/workloads/LogSoftmax.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backends/reference/workloads/LogSoftmax.cpp') diff --git a/src/backends/reference/workloads/LogSoftmax.cpp b/src/backends/reference/workloads/LogSoftmax.cpp index 103d62a8df..1998f50c87 100644 --- a/src/backends/reference/workloads/LogSoftmax.cpp +++ b/src/backends/reference/workloads/LogSoftmax.cpp @@ -6,11 +6,11 @@ #include "LogSoftmax.hpp" #include +#include #include #include -#include #include namespace @@ -35,7 +35,7 @@ void LogSoftmax(Decoder& input, const unsigned int numDimensions = inputInfo.GetNumDimensions(); bool axisIsValid = ValidateAxis(descriptor.m_Axis, numDimensions); - BOOST_ASSERT_MSG(axisIsValid, + ARMNN_ASSERT_MSG(axisIsValid, "Axis index is not in range [-numDimensions, numDimensions)."); IgnoreUnused(axisIsValid); -- cgit v1.2.1