From c9cc80455ff29fd2c8622c9487ec9c57ade6ea30 Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Thu, 1 Nov 2018 16:15:57 +0000 Subject: IVGCVSW-1946: Remove armnn/src from the include paths Change-Id: I663a0a0fccb43ee960ec070121a59df9db0bb04e --- src/backends/test/ActivationFixture.hpp | 61 --------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 src/backends/test/ActivationFixture.hpp (limited to 'src/backends/test/ActivationFixture.hpp') diff --git a/src/backends/test/ActivationFixture.hpp b/src/backends/test/ActivationFixture.hpp deleted file mode 100644 index 5028b252e1..0000000000 --- a/src/backends/test/ActivationFixture.hpp +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// -#pragma once - -#include "TensorCopyUtils.hpp" -#include "WorkloadTestUtils.hpp" - -#include - -#include -#include - -struct ActivationFixture -{ - ActivationFixture() - { - auto boostArrayExtents = boost::extents - [boost::numeric_cast(batchSize)] - [boost::numeric_cast(channels)] - [boost::numeric_cast(height)] - [boost::numeric_cast(width)]; - output.resize(boostArrayExtents); - outputExpected.resize(boostArrayExtents); - input.resize(boostArrayExtents); - - unsigned int inputShape[] = { batchSize, channels, height, width }; - unsigned int outputShape[] = { batchSize, channels, height, width }; - - inputTensorInfo = armnn::TensorInfo(4, inputShape, armnn::DataType::Float32); - outputTensorInfo = armnn::TensorInfo(4, outputShape, armnn::DataType::Float32); - - input = MakeRandomTensor(inputTensorInfo, 21453); - } - - unsigned int width = 17; - unsigned int height = 29; - unsigned int channels = 2; - unsigned int batchSize = 5; - - boost::multi_array output; - boost::multi_array outputExpected; - boost::multi_array input; - - armnn::TensorInfo inputTensorInfo; - armnn::TensorInfo outputTensorInfo; - - // Parameters used by some of the activation functions. - float a = 0.234f; - float b = -12.345f; -}; - - -struct PositiveActivationFixture : public ActivationFixture -{ - PositiveActivationFixture() - { - input = MakeRandomTensor(inputTensorInfo, 2342423, 0.0f, 1.0f); - } -}; \ No newline at end of file -- cgit v1.2.1