diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-01-10 04:23:52 +0000 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2021-01-19 16:03:54 +0000 |
commit | 0f7ef8ab2171093855a8f21bd39c8fd7066dd629 (patch) | |
tree | 2ebdcdf205e3ec238401219f8301be28095edea9 /arm_compute/runtime/NEON/functions/NEReshapeLayer.h | |
parent | ff1fe3e32e25069fed750cdfe3046b7d8d5a2628 (diff) | |
download | ComputeLibrary-0f7ef8ab2171093855a8f21bd39c8fd7066dd629.tar.gz |
Make memset/copy functions state-less
Port following functions:
- NECopy
- NEFill
- NEPermute
- NEReshapeLayer
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I75f3f837012abab79c7dde9a20a34f64f75571d8
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4800
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEReshapeLayer.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEReshapeLayer.h | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEReshapeLayer.h b/arm_compute/runtime/NEON/functions/NEReshapeLayer.h index 641a96e0f9..b4c3af1fab 100644 --- a/arm_compute/runtime/NEON/functions/NEReshapeLayer.h +++ b/arm_compute/runtime/NEON/functions/NEReshapeLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020 Arm Limited. + * Copyright (c) 2017-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -73,41 +73,5 @@ private: struct Impl; std::unique_ptr<Impl> _impl; }; - -namespace experimental -{ -/** Basic function to run @ref NEReshapeLayerKernel */ -class NEReshape : public INEOperator -{ -public: - /** Default Constructor */ - NEReshape() = default; - /** Default Destructor */ - ~NEReshape(); - /** Prevent instances of this class from being copied (As this class contains pointers) */ - NEReshape(const NEReshape &) = delete; - /** Default move constructor */ - NEReshape(NEReshapeLayer &&); - /** Prevent instances of this class from being copied (As this class contains pointers) */ - NEReshape &operator=(const NEReshape &) = delete; - /** Default move assignment operator */ - NEReshape &operator=(NEReshape &&); - /** Initialise the kernel's inputs and outputs - * - * @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 ITensorInfo *input, ITensorInfo *output); - - /** Static function to check if given info will lead to a valid configuration of @ref NEReshapeLayer - * - * @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_NERESHAPELAYER_H */ |