aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLPermute.h
diff options
context:
space:
mode:
authorIsabella Gottardi <isabella.gottardi@arm.com>2018-02-21 11:51:23 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:47:40 +0000
commitaad9f2c976ff9bb7022751f4ee8c659194d2b3a6 (patch)
treee2425aa0e7c8c982610b9917e464a1c3e37bc9b6 /arm_compute/runtime/CL/functions/CLPermute.h
parent2d0ce77a3415ef12fd2f74aefd3fc9851b5b5da8 (diff)
downloadComputeLibrary-aad9f2c976ff9bb7022751f4ee8c659194d2b3a6.tar.gz
COMPMID-754: Add CLPermute validation method
Change-Id: I77ed920a43738effd55b086e3138f497057a72c5 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/121618 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLPermute.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLPermute.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arm_compute/runtime/CL/functions/CLPermute.h b/arm_compute/runtime/CL/functions/CLPermute.h
index ef8ba31019..a41567570a 100644
--- a/arm_compute/runtime/CL/functions/CLPermute.h
+++ b/arm_compute/runtime/CL/functions/CLPermute.h
@@ -44,6 +44,15 @@ public:
* @param[in] perm Permutation vector
*/
void configure(const ICLTensor *input, ICLTensor *output, const PermutationVector &perm);
+ /** Static function to check if given info will lead to a valid configuration of @ref CLPermute.
+ *
+ * @param[in] input First tensor input info. Data types supported: U8/S8/QS8/QASYMM8/U16/S16/QS16/F16/U32/S32/F32.
+ * @param[in] output Output tensor info. Data types supported: same as @p input.
+ * @param[in] perm Permutation vector
+ *
+ * @return a status
+ */
+ static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PermutationVector &perm);
};
}
#endif /*__ARM_COMPUTE_CLPERMUTE_H__ */