aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-06-06 13:47:38 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-06-07 10:07:21 +0000
commit6260e194b34842ac6d932dd5c96842c0d1214d70 (patch)
tree654c6a24dd720d11f26be275d1c3527e8812614a /examples
parentd69b3b2db4b359d4e68cf786a294fa1d7d4db2d0 (diff)
downloadComputeLibrary-6260e194b34842ac6d932dd5c96842c0d1214d70.tar.gz
COMPMID-2394: (Nightly) Clang-tidy errors
Change-Id: Ie7ccf4e62cccca6057c0bc4521496267a05e4459 Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/1304 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Giuseppe Rossini <giuseppe.rossini@arm.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/graph_mobilenet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graph_mobilenet.cpp b/examples/graph_mobilenet.cpp
index dda88ee0da..9c014e747b 100644
--- a/examples/graph_mobilenet.cpp
+++ b/examples/graph_mobilenet.cpp
@@ -328,14 +328,14 @@ private:
3U, 3U,
get_weights_accessor(data_path, total_path + "depthwise_weights.npy"),
get_weights_accessor(data_path, total_path + "depthwise_bias.npy"),
- dwc_pad_stride_info, 1, depth_weights_quant_info)
+ dwc_pad_stride_info, 1, std::move(depth_weights_quant_info))
.set_name(total_path + "depthwise/depthwise")
<< ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 6.f)).set_name(total_path + "depthwise/Relu6")
<< ConvolutionLayer(
1U, 1U, conv_filt,
get_weights_accessor(data_path, total_path + "pointwise_weights.npy"),
get_weights_accessor(data_path, total_path + "pointwise_bias.npy"),
- conv_pad_stride_info, 1, point_weights_quant_info)
+ conv_pad_stride_info, 1, std::move(point_weights_quant_info))
.set_name(total_path + "pointwise/Conv2D")
<< ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 6.f)).set_name(total_path + "pointwise/Relu6");