diff options
author | Jan Eilers <jan.eilers@arm.com> | 2020-03-09 12:13:48 +0000 |
---|---|---|
committer | Jan Eilers <jan.eilers@arm.com> | 2020-03-10 10:07:43 +0000 |
commit | 8eb256065f0e75ecf8e427d56955e2bac117c2d7 (patch) | |
tree | 1387fb4ea4a741475449d78be63d601f9d84b6e5 /src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp | |
parent | 8832522f47b701f5f042069e7bf8deae9b75d449 (diff) | |
download | armnn-8eb256065f0e75ecf8e427d56955e2bac117c2d7.tar.gz |
IVGCVSW-4482 Remove boost::ignore_unused
!referencetests:229377
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Ia9b360b4a057fe7bbce5b268092627c09a0dba82
Diffstat (limited to 'src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp')
-rw-r--r-- | src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp b/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp index 6993b9e9b1..319434e093 100644 --- a/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp +++ b/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp @@ -36,7 +36,7 @@ LayerTestResult<T, 4> BoundedReLuTestCommon( unsigned int inputChannels, unsigned int inputBatchSize) { - boost::ignore_unused(memoryManager); + IgnoreUnused(memoryManager); unsigned int outputWidth = inputWidth; unsigned int outputHeight = inputHeight; unsigned int outputChannels = inputChannels; @@ -245,7 +245,7 @@ boost::multi_array<float, 4> BoundedReLuRandomInputTest( float upperBound, const armnn::ActivationDescriptor& activationDescriptor) { - boost::ignore_unused(memoryManager); + IgnoreUnused(memoryManager); const armnn::TensorInfo inputTensorInfo = BoundedReLuRandomInputTestTraits::GetInputTensorInfo(); const armnn::TensorInfo outputTensorInfo = BoundedReLuRandomInputTestTraits::GetOutputTensorInfo(); @@ -310,7 +310,7 @@ LayerTestResult<T,4> ConstantLinearActivationTestCommon( float qScale = 0.0f, int32_t qOffset = 0) { - boost::ignore_unused(memoryManager); + IgnoreUnused(memoryManager); unsigned int inputHeight = 20; unsigned int inputWidth = 17; unsigned int inputChannels = 3; @@ -402,7 +402,7 @@ LayerTestResult<T, 4> SimpleActivationTest( int32_t outOffset, const std::vector<float>& outputExpectedData) { - boost::ignore_unused(memoryManager); + IgnoreUnused(memoryManager); constexpr static unsigned int inputWidth = 16u; constexpr static unsigned int inputHeight = 1u; constexpr static unsigned int inputChannels = 1u; @@ -793,7 +793,7 @@ LayerTestResult<float, 5> SqrtNNTest( armnn::IWorkloadFactory& workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) { - boost::ignore_unused(memoryManager); + IgnoreUnused(memoryManager); const int inputDataSize = 120; std::vector<float> inputData(inputDataSize); @@ -1148,7 +1148,7 @@ LayerTestResult<T,4> CompareActivationTestImpl( float qScale = 0.0f, int32_t qOffset = 0) { - boost::ignore_unused(memoryManager); + IgnoreUnused(memoryManager); unsigned int width = 17; unsigned int height = 29; unsigned int channels = 2; |