diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-03-25 14:06:14 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-03-27 15:49:14 +0000 |
commit | f52cd78acdedc9b4e2342daf2ca65578a6da28e1 (patch) | |
tree | 85850cc536a4360668a8a6185f691065fdb66c00 /arm_compute/graph/frontend/Layers.h | |
parent | 8cf8c1123440c2002ee108d1949529bf21eac944 (diff) | |
download | ComputeLibrary-f52cd78acdedc9b4e2342daf2ca65578a6da28e1.tar.gz |
COMPMID-1995: Minor code fixes.
-Remove FIXMEs and link to tickets.
-Pass large object by const reference.
-Implement copy assignment operator for Window.
Change-Id: I975223ac42ec424f153569a8c963f29e6b86ad29
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/899
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm_compute/graph/frontend/Layers.h b/arm_compute/graph/frontend/Layers.h index 4e6f0eee2d..a4c03a68a0 100644 --- a/arm_compute/graph/frontend/Layers.h +++ b/arm_compute/graph/frontend/Layers.h @@ -478,7 +478,7 @@ public: * @param[in] sub_stream_prior PriorBox graph sub-stream. * @param[in] detect_info DetectionOutput parameters. */ - DetectionOutputLayer(SubStream &&sub_stream_conf, SubStream &&sub_stream_prior, DetectionOutputLayerInfo detect_info) + DetectionOutputLayer(SubStream &&sub_stream_conf, SubStream &&sub_stream_prior, const DetectionOutputLayerInfo &detect_info) : _ss_conf(std::move(sub_stream_conf)), _ss_prior(std::move(sub_stream_prior)), _detect_info(detect_info) { } @@ -838,7 +838,7 @@ public: * @param[in] sub_stream First graph sub-stream * @param[in] prior_info PriorBox parameters. */ - PriorBoxLayer(SubStream &&sub_stream, PriorBoxLayerInfo prior_info) + PriorBoxLayer(SubStream &&sub_stream, const PriorBoxLayerInfo &prior_info) : _ss(std::move(sub_stream)), _prior_info(prior_info) { } |