aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLReshapeLayer.h
diff options
context:
space:
mode:
authorSheri Zhang <sheri.zhang@arm.com>2021-02-02 11:49:34 +0000
committerSheri Zhang <sheri.zhang@arm.com>2021-02-08 13:35:26 +0000
commit7e20e29904c98adae5a91c6492fd78da88b7a9bf (patch)
tree96309359fd28c2244984ed1d4d1a9069528b64dc /arm_compute/runtime/CL/functions/CLReshapeLayer.h
parentafc9c3df7600dcecf12d3d3a4686d2008502a813 (diff)
downloadComputeLibrary-7e20e29904c98adae5a91c6492fd78da88b7a9bf.tar.gz
Make memset/copy functions state-less
Port following functions: - CLCopy - CLFill - CLPermute - CLReshapeLayer - CLCropResize Resolves: COMPMID-4002 Signed-off-by: Sheri Zhang <sheri.zhang@arm.com> Change-Id: I8392aa515aaeb5b44dab6122be6a795d08376d5f Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5003 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLReshapeLayer.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLReshapeLayer.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/arm_compute/runtime/CL/functions/CLReshapeLayer.h b/arm_compute/runtime/CL/functions/CLReshapeLayer.h
index b4d52ec8cf..60ed81680e 100644
--- a/arm_compute/runtime/CL/functions/CLReshapeLayer.h
+++ b/arm_compute/runtime/CL/functions/CLReshapeLayer.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2020 Arm Limited.
+ * Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -26,6 +26,7 @@
#include "arm_compute/runtime/CL/ICLOperator.h"
#include "arm_compute/runtime/CL/ICLSimpleFunction.h"
+#include <memory>
namespace arm_compute
{
@@ -33,7 +34,7 @@ class CLCompileContext;
class ICLTensor;
class ITensorInfo;
-/** Basic function to run @ref CLReshapeLayerKernel */
+/** Basic function to run @ref opencl::kernels::ClReshapeKernel */
class CLReshapeLayer : public IFunction
{
public:
@@ -79,30 +80,5 @@ private:
struct Impl;
std::unique_ptr<Impl> _impl;
};
-
-namespace experimental
-{
-/** Basic function to run @ref CLReshapeLayerKernel */
-class CLReshape : public ICLOperator
-{
-public:
- /** Initialise the kernel's inputs and outputs
- *
- * @param[in] compile_context The compile context to be used.
- * @param[in] input Input tensor info. Data type supported: All
- * @param[out] output Output info. Data type supported: Same as @p input
- */
- void configure(const CLCompileContext &compile_context, const ITensorInfo *input, ITensorInfo *output);
-
- /** Static function to check if given info will lead to a valid configuration of @ref CLReshapeLayer
- *
- * @param[in] input Input tensor info. Data type supported: All
- * @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);
-};
-} // namespace experimental
} // namespace arm_compute
#endif /*ARM_COMPUTE_CLRESHAPELAYER_H */