diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-12-04 15:51:34 +0000 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-12-10 10:44:54 +0000 |
commit | 0b1c2db5c29ed80b7f4dd0c4fd6d4ed91b3d1538 (patch) | |
tree | 4d59e2627ad5d094ff80976488a5488982764d85 /arm_compute/graph/frontend/Layers.h | |
parent | ec2256b81e6d6f655dcfbc76683738fbfeb82bcc (diff) | |
download | ComputeLibrary-0b1c2db5c29ed80b7f4dd0c4fd6d4ed91b3d1538.tar.gz |
Remove (NE/CL)YoloLayer support
YOLO layer is too specialized and specific to a single model type. Can
be decomposed using split, activation and concatenate layers
Partially Resolves: COMPMID-3996
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I3cde88f8d4cc7d8c70ce1bb3b32b00f8d09bdca2
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4678
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'arm_compute/graph/frontend/Layers.h')
-rw-r--r-- | arm_compute/graph/frontend/Layers.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arm_compute/graph/frontend/Layers.h b/arm_compute/graph/frontend/Layers.h index 23f503342b..dfe7842aa1 100644 --- a/arm_compute/graph/frontend/Layers.h +++ b/arm_compute/graph/frontend/Layers.h @@ -1494,8 +1494,8 @@ public: * @param[in] act_info Activation info * @param[in] num_classes Number of classes to activate */ - YOLOLayer(ActivationLayerInfo act_info, int32_t num_classes) - : _act_info(act_info), _num_classes(num_classes) + YOLOLayer(ActivationLayerInfo act_info) + : _act_info(act_info) { } @@ -1503,12 +1503,11 @@ public: { NodeParams common_params = { name(), s.hints().target_hint }; NodeIdxPair input = { s.tail_node(), 0 }; - return GraphBuilder::add_yolo_node(s.graph(), common_params, input, _act_info, _num_classes); + return GraphBuilder::add_yolo_node(s.graph(), common_params, input, _act_info); } private: ActivationLayerInfo _act_info; - int32_t _num_classes; }; } // namespace frontend } // namespace graph |