From 35ceeb2199c569810a1524a0a21c2df2a3f5f29e Mon Sep 17 00:00:00 2001 From: Diego Lopez Recas Date: Mon, 4 Dec 2017 18:56:10 +0000 Subject: IVGCVSW-798 Add Softmax NEON support for QASYMM8 Change-Id: I4f2cca52caf210fdb7d6bb7e9436ac51cb5088b4 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/112398 Reviewed-by: Anthony Barbier Tested-by: Jenkins --- arm_compute/core/SubTensorInfo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arm_compute/core/SubTensorInfo.h') diff --git a/arm_compute/core/SubTensorInfo.h b/arm_compute/core/SubTensorInfo.h index 67574f1326..7f4239d49b 100644 --- a/arm_compute/core/SubTensorInfo.h +++ b/arm_compute/core/SubTensorInfo.h @@ -98,8 +98,8 @@ public: _parent->set_fixed_point_position(fixed_point_position); return *this; }; - ITensorInfo &set_tensor_shape(TensorShape shape) override; - ITensorInfo &set_quantization_info(QuantizationInfo quantization_info) override + ITensorInfo &set_tensor_shape(const TensorShape &shape) override; + ITensorInfo &set_quantization_info(const QuantizationInfo &quantization_info) override { ARM_COMPUTE_ERROR_ON(_parent == nullptr); _parent->set_quantization_info(quantization_info); @@ -196,7 +196,7 @@ public: { return _valid_region; } - void set_valid_region(ValidRegion valid_region) override + void set_valid_region(const ValidRegion &valid_region) override { ARM_COMPUTE_ERROR_ON(_parent == nullptr); // Check if subtensor is valid if parent is configured @@ -204,7 +204,7 @@ public: { ARM_COMPUTE_ERROR_ON_INVALID_SUBTENSOR_VALID_REGION(_parent->valid_region(), valid_region); } - _valid_region = std::move(valid_region); + _valid_region = valid_region; } QuantizationInfo quantization_info() const override { -- cgit v1.2.1