diff options
Diffstat (limited to 'src/backends/reference/workloads/LogSoftmax.cpp')
-rw-r--r-- | src/backends/reference/workloads/LogSoftmax.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <armnnUtils/TensorUtils.hpp> +#include <armnn/utility/Assert.hpp> #include <armnn/utility/IgnoreUnused.hpp> #include <cmath> -#include <boost/assert.hpp> #include <boost/numeric/conversion/cast.hpp> namespace @@ -35,7 +35,7 @@ void LogSoftmax(Decoder<float>& 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); |