aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLTranspose.h
diff options
context:
space:
mode:
authorGian Marco <gianmarco.iodice@arm.com>2017-12-05 16:17:23 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:17 +0000
commit7c435f2e32e3441ac6c288e786f25c86b65e1453 (patch)
treedea2494ccc4bd437cdd4f66ff1412f02c7ba7cdb /arm_compute/runtime/CL/functions/CLTranspose.h
parent07c37f9954555ae3523c85f16e46cf94e9a9e290 (diff)
downloadComputeLibrary-7c435f2e32e3441ac6c288e786f25c86b65e1453.tar.gz
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 <anthony.barbier@arm.com> Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLTranspose.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLTranspose.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/arm_compute/runtime/CL/functions/CLTranspose.h b/arm_compute/runtime/CL/functions/CLTranspose.h
index 9ac5458a93..6bfc31634f 100644
--- a/arm_compute/runtime/CL/functions/CLTranspose.h
+++ b/arm_compute/runtime/CL/functions/CLTranspose.h
@@ -40,10 +40,18 @@ class CLTranspose : public ICLSimpleFunction
public:
/** Initialise the kernel's inputs and output
*
- * @param[in] input Input tensor. Data types supported: U8/S8/QS8/U16/S16/F16/U32/S32/F32
+ * @param[in] input Input tensor. Data types supported: U8/S8/QS8/QASYMM8/U16/S16/F16/U32/S32/F32
* @param[out] output Output tensor. Data type supported: Same as @p input
*/
void configure(const ICLTensor *input, ICLTensor *output);
+ /** Static function to check if given info will lead to a valid configuration of @ref CLTranspose
+ *
+ * @param[in] input The input tensor. Data types supported: U8/S8/QS8/QASYMM8/U16/S16/F16/U32/S32/F32
+ * @param[in] output The output tensor. Data types supported: Same as @p input
+ *
+ * @return an error status
+ */
+ static Error validate(const ITensorInfo *input, const ITensorInfo *output);
};
}