From c53266e45f3c8c07dff88c61e5bfa01c6d3ba3f0 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 9 Dec 2020 03:11:53 +0000 Subject: 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 Change-Id: Ic2f9ba352c183aa87d69d551d5c172d0f22119e8 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4679 Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- arm_compute/graph/frontend/Layers.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'arm_compute/graph/frontend/Layers.h') 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 { -- cgit v1.2.1