aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLReshapeLayer.h
diff options
context:
space:
mode:
authorGiuseppe Rossini <giuseppe.rossini@arm.com>2018-08-22 12:07:48 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit84797636b0ad44c16838df4177cf5a05aa929781 (patch)
tree28570365dca0eb915ec29eec85441c9c2833b76f /arm_compute/runtime/CL/functions/CLReshapeLayer.h
parent77589b58d55a181d49d5d94126c7e204af2835bc (diff)
downloadComputeLibrary-84797636b0ad44c16838df4177cf5a05aa929781.tar.gz
[COMPMID-1483] Add validate method to CLReshapeLayer
Change-Id: I33079e07acad83e0740c87b06546cc0f0f51301c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145164 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLReshapeLayer.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLReshapeLayer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arm_compute/runtime/CL/functions/CLReshapeLayer.h b/arm_compute/runtime/CL/functions/CLReshapeLayer.h
index cf5f7e5e15..82daa236c1 100644
--- a/arm_compute/runtime/CL/functions/CLReshapeLayer.h
+++ b/arm_compute/runtime/CL/functions/CLReshapeLayer.h
@@ -40,6 +40,15 @@ public:
* @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 CLReshapeLayer
+ *
+ * @param[in] input First tensor info. Data type supported: U8/S8/QASYMM8/U16/S16/U32/S32/F16/F32
+ * @param[in] output Output tensor info. Data type supported: Same as @p input
+ *
+ * @return a status
+ */
+ static Status validate(const ITensorInfo *input, const ITensorInfo *output);
};
}
#endif /*__ARM_COMPUTE_CLRESHAPELAYER_H__ */