diff options
author | Mohamed Nour Abouelseoud <mohamednour.abouelseoud@arm.com> | 2018-10-12 12:26:24 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-22 16:57:54 +0100 |
commit | 7420e55aefe545452639992ab1972fd355a9ed30 (patch) | |
tree | deae0ab925ca138e2c5f1130477d92f5d45c9de6 /src/backends/reference/workloads/Pad.hpp | |
parent | b5acbb77918df98debac200ebe082ce9aaab6a8c (diff) | |
download | armnn-7420e55aefe545452639992ab1972fd355a9ed30.tar.gz |
IVGCVSW-1885 add RefPadWorkload implementation and associated unit tests
* Added RefPadWorkload implementation
* Added unit tests and applied them to CL and Ref backends
* Fixed a bug in ClPadWorkload
Change-Id: I8cb76bc9d60ae8a39b08d40f05d628e3b72f6410
Diffstat (limited to 'src/backends/reference/workloads/Pad.hpp')
-rw-r--r-- | src/backends/reference/workloads/Pad.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/Pad.hpp b/src/backends/reference/workloads/Pad.hpp new file mode 100644 index 0000000000..ed80ef8eb0 --- /dev/null +++ b/src/backends/reference/workloads/Pad.hpp @@ -0,0 +1,20 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +#include "armnn/DescriptorsFwd.hpp" +#include "armnn/Tensor.hpp" + +#include <vector> + +namespace armnn +{ +void Pad(const TensorInfo& inputInfo, + const TensorInfo& outputInfo, + std::vector<std::pair<unsigned int, unsigned int>> m_PadList, + const float* inputData, + float* outData); +} //namespace armnn |