diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-12-09 03:11:53 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-12-11 14:39:09 +0000 |
commit | c53266e45f3c8c07dff88c61e5bfa01c6d3ba3f0 (patch) | |
tree | 14c21b14c776be9759ee33d66c818f7865072606 /arm_compute/graph/frontend/Layers.h | |
parent | 15bc8485ef463508838a549b7e8518bf05883155 (diff) | |
download | ComputeLibrary-c53266e45f3c8c07dff88c61e5bfa01c6d3ba3f0.tar.gz |
Remove (CL/NE)UpsampleLayer in favor to (NE/CL)Scale
Upsample functions and kernels can be replaced with the Scale as they
provide same functionality
Partially resolves: COMPMID-3996
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: Ic2f9ba352c183aa87d69d551d5c172d0f22119e8
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4679
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph/frontend/Layers.h')
-rw-r--r-- | arm_compute/graph/frontend/Layers.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arm_compute/graph/frontend/Layers.h b/arm_compute/graph/frontend/Layers.h index dfe7842aa1..c4de4013b2 100644 --- a/arm_compute/graph/frontend/Layers.h +++ b/arm_compute/graph/frontend/Layers.h @@ -1459,32 +1459,6 @@ private: StridedSliceLayerInfo _info; }; -/** Upsample Layer */ -class UpsampleLayer final : public ILayer -{ -public: - /** Construct a Upsample layer. - * - * @param[in] info Stride info - * @param[in] upsampling_policy Upsampling policy - */ - UpsampleLayer(Size2D info, InterpolationPolicy upsampling_policy) - : _info(info), _upsampling_policy(upsampling_policy) - { - } - - NodeID create_layer(IStream &s) override - { - NodeParams common_params = { name(), s.hints().target_hint }; - NodeIdxPair input = { s.tail_node(), 0 }; - return GraphBuilder::add_upsample_node(s.graph(), common_params, input, _info, _upsampling_policy); - } - -private: - Size2D _info; - InterpolationPolicy _upsampling_policy; -}; - /** YOLO Layer */ class YOLOLayer final : public ILayer { |