From 7c435f2e32e3441ac6c288e786f25c86b65e1453 Mon Sep 17 00:00:00 2001 From: Gian Marco Date: Tue, 5 Dec 2017 16:17:23 +0000 Subject: COMPMID-728 - Added validation for transpose - Added validation in NETranspose - Added validation in CLTranspose Change-Id: I51aa1810c957fda75bdf899f33116d96a76d89a1 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111999 Reviewed-by: Anthony Barbier Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com --- src/runtime/CL/functions/CLTranspose.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/runtime/CL/functions/CLTranspose.cpp') diff --git a/src/runtime/CL/functions/CLTranspose.cpp b/src/runtime/CL/functions/CLTranspose.cpp index cd19e255bd..ad5c04124d 100644 --- a/src/runtime/CL/functions/CLTranspose.cpp +++ b/src/runtime/CL/functions/CLTranspose.cpp @@ -35,4 +35,9 @@ void CLTranspose::configure(const ICLTensor *input, ICLTensor *output) auto k = arm_compute::support::cpp14::make_unique(); k->configure(input, output); _kernel = std::move(k); +} + +Error CLTranspose::validate(const ITensorInfo *input, const ITensorInfo *output) +{ + return CLTransposeKernel::validate(input, output); } \ No newline at end of file -- cgit v1.2.1