Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 1 | /* |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 2 | * Copyright (c) 2017-2020 ARM Limited. |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | * of this software and associated documentation files (the "Software"), to |
| 8 | * deal in the Software without restriction, including without limitation the |
| 9 | * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
| 10 | * sell copies of the Software, and to permit persons to whom the Software is |
| 11 | * furnished to do so, subject to the following conditions: |
| 12 | * |
| 13 | * The above copyright notice and this permission notice shall be included in all |
| 14 | * copies or substantial portions of the Software. |
| 15 | * |
| 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | * SOFTWARE. |
| 23 | */ |
Giorgio Arena | 04a8f8c | 2017-11-23 11:45:24 +0000 | [diff] [blame] | 24 | #include "arm_compute/core/NEON/kernels/NEL2NormalizeLayerKernel.h" |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 25 | |
| 26 | #include "arm_compute/core/Error.h" |
| 27 | #include "arm_compute/core/Helpers.h" |
| 28 | #include "arm_compute/core/ITensor.h" |
| 29 | #include "arm_compute/core/NEON/NEMath.h" |
| 30 | #include "arm_compute/core/TensorInfo.h" |
| 31 | #include "arm_compute/core/Utils.h" |
| 32 | #include "arm_compute/core/Validate.h" |
| 33 | #include "arm_compute/core/Window.h" |
| 34 | |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 35 | #include "arm_compute/core/NEON/wrapper/wrapper.h" |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 36 | #include <arm_neon.h> |
| 37 | #include <cmath> |
| 38 | |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 39 | namespace arm_compute |
| 40 | { |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 41 | namespace |
| 42 | { |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 43 | constexpr int max_input_tensor_dim = 3; |
| 44 | |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 45 | template <typename T, int S> |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 46 | void l2_normalize_X(const ITensor *in, const ITensor *sum, ITensor *out, float epsilon, const Window &window) |
| 47 | { |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 48 | using ExactTagType = typename wrapper::traits::neon_vector<T, S>::tag_type; |
| 49 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 50 | const int window_step_x = 16 / data_size_from_type(in->info()->data_type()); |
| 51 | const auto window_start_x = static_cast<int>(window.x().start()); |
| 52 | const auto window_end_x = static_cast<int>(window.x().end()); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 53 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 54 | Window win_collapsed = window.collapse_if_possible(window, Window::DimZ); |
| 55 | win_collapsed.set(Window::DimX, Window::Dimension(0, 1, 1)); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 56 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 57 | Iterator input_it(in, win_collapsed); |
| 58 | Iterator sum_it(sum, win_collapsed); |
| 59 | Iterator output_it(out, win_collapsed); |
| 60 | |
| 61 | execute_window_loop(win_collapsed, [&](const Coordinates &) |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 62 | { |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 63 | const auto in_ptr = reinterpret_cast<const T *>(input_it.ptr()); |
| 64 | const auto out_ptr = reinterpret_cast<T *>(output_it.ptr()); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 65 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 66 | const T sum_value = *reinterpret_cast<const T *>(sum_it.ptr()); |
| 67 | const T norm_value = static_cast<T>(1.f) / std::sqrt(std::max(sum_value, static_cast<T>(epsilon))); |
| 68 | const auto vec_norm_value = wrapper::vdup_n(norm_value, ExactTagType{}); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 69 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 70 | // Compute elements over vector steps |
| 71 | int x = window_start_x; |
| 72 | for(; x <= (window_end_x - window_step_x); x += window_step_x) |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 73 | { |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 74 | wrapper::vstore(out_ptr + x, wrapper::vmul(wrapper::vloadq(in_ptr + x), vec_norm_value)); |
| 75 | } |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 76 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 77 | // Compute left-over elements |
| 78 | for(; x < window_end_x; ++x) |
| 79 | { |
| 80 | out_ptr[x] = in_ptr[x] * norm_value; |
| 81 | } |
| 82 | }, |
| 83 | input_it, sum_it, output_it); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 84 | } |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 85 | |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 86 | template <typename T, int S> |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 87 | void l2_normalize_YZ(const ITensor *in, const ITensor *sum, ITensor *out, float epsilon, const Window &window, size_t axis) |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 88 | { |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 89 | using ExactTagType = typename wrapper::traits::neon_vector<T, S>::tag_type; |
| 90 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 91 | const int window_step_x = 16 / data_size_from_type(in->info()->data_type()); |
| 92 | const auto window_start_x = static_cast<int>(window.x().start()); |
| 93 | const auto window_end_x = static_cast<int>(window.x().end()); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 94 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 95 | Window win = window; |
| 96 | win.set(Window::DimX, Window::Dimension(0, 1, 1)); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 97 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 98 | Window window_sum(win); |
| 99 | window_sum.set(axis, Window::Dimension(0, 0, 0)); |
| 100 | |
| 101 | Iterator input_it(in, win); |
| 102 | Iterator sum_it(sum, window_sum); |
| 103 | Iterator output_it(out, win); |
| 104 | |
| 105 | const auto vec_eps = wrapper::vdup_n(static_cast<T>(epsilon), ExactTagType{}); |
| 106 | |
| 107 | execute_window_loop(win, [&](const Coordinates &) |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 108 | { |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 109 | const auto in_ptr = reinterpret_cast<const T *>(input_it.ptr()); |
| 110 | const auto sum_ptr = reinterpret_cast<const T *>(sum_it.ptr()); |
| 111 | const auto out_ptr = reinterpret_cast<T *>(output_it.ptr()); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 112 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 113 | // Compute elements over vector steps |
| 114 | int x = window_start_x; |
| 115 | for(; x <= (window_end_x - window_step_x); x += window_step_x) |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 116 | { |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 117 | const auto vec_norm_value = wrapper::vinvsqrt(wrapper::vmax(wrapper::vloadq(sum_ptr + x), vec_eps)); |
| 118 | wrapper::vstore(out_ptr + x, wrapper::vmul(wrapper::vloadq(in_ptr + x), vec_norm_value)); |
| 119 | } |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 120 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 121 | // Compute left-over elements |
| 122 | for(; x < window_end_x; ++x) |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 123 | { |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 124 | const T norm_value = static_cast<T>(1.f) / std::sqrt(std::max(sum_ptr[x], static_cast<T>(epsilon))); |
| 125 | out_ptr[x] = in_ptr[x] * norm_value; |
| 126 | } |
| 127 | }, |
| 128 | input_it, sum_it, output_it); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 129 | } |
| 130 | |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 131 | Status validate_arguments(const ITensorInfo *input, const ITensorInfo *sum, const ITensorInfo *output, int axis, float epsilon) |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 132 | { |
| 133 | ARM_COMPUTE_UNUSED(epsilon); |
| 134 | |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 135 | const uint32_t actual_axis = wrap_around(axis, max_input_tensor_dim); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 136 | ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(input, sum, output); |
| 137 | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, sum); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 138 | ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::F16, DataType::F32); |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 139 | ARM_COMPUTE_RETURN_ERROR_ON_MSG(actual_axis > 2, "Actual axis greater than 2 is not supported"); |
| 140 | ARM_COMPUTE_RETURN_ERROR_ON_MSG(actual_axis >= TensorShape::num_max_dimensions, "Actual normalization axis greater than max number of dimensions"); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 141 | |
| 142 | // Reduce shape on axis |
| 143 | TensorShape sum_shape = input->tensor_shape(); |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 144 | sum_shape.set(actual_axis, 1); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 145 | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS(sum->tensor_shape(), sum_shape); |
| 146 | |
| 147 | if(output->total_size() != 0) |
| 148 | { |
| 149 | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_SHAPES(input, output); |
| 150 | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, output); |
| 151 | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS(input->tensor_shape(), output->tensor_shape()); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 152 | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_LAYOUT(input, output); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 153 | } |
| 154 | |
| 155 | return Status{}; |
| 156 | } |
| 157 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 158 | std::tuple<Status, Window> validate_and_configure_window(ITensorInfo *input, ITensorInfo *output) |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 159 | { |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 160 | Window win = calculate_max_window(*input, Steps()); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 161 | |
| 162 | // Output auto initialization if not yet initialized |
Vidhya Sudhan Loganathan | 7485d5a | 2018-07-04 09:34:00 +0100 | [diff] [blame] | 163 | auto_init_if_empty(*output, input->tensor_shape(), 1, input->data_type()); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 164 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 165 | // NEL2NormalizeLayerKernel doesn't need padding so update_window_and_padding() can be skipped |
| 166 | Coordinates coord; |
| 167 | coord.set_num_dimensions(output->num_dimensions()); |
| 168 | output->set_valid_region(ValidRegion(coord, output->tensor_shape())); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 169 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 170 | return std::make_tuple(Status{}, win); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 171 | } |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 172 | } // namespace |
| 173 | |
Giorgio Arena | 04a8f8c | 2017-11-23 11:45:24 +0000 | [diff] [blame] | 174 | NEL2NormalizeLayerKernel::NEL2NormalizeLayerKernel() |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 175 | : _input(nullptr), _sum(nullptr), _output(nullptr), _actual_axis(0), _epsilon(1e-12) |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 176 | { |
| 177 | } |
| 178 | |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 179 | void NEL2NormalizeLayerKernel::configure(const ITensor *input, const ITensor *sum, ITensor *output, int axis, float epsilon) |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 180 | { |
| 181 | ARM_COMPUTE_ERROR_ON_NULLPTR(input, sum, output); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 182 | ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(input->info(), sum->info(), output->info(), axis, epsilon)); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 183 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 184 | _input = input; |
| 185 | _sum = sum; |
| 186 | _output = output; |
| 187 | _actual_axis = wrap_around(axis, max_input_tensor_dim); |
| 188 | _epsilon = epsilon; |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 189 | |
| 190 | // Configure kernel window |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 191 | auto win_config = validate_and_configure_window(_input->info(), _output->info()); |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 192 | ARM_COMPUTE_ERROR_THROW_ON(std::get<0>(win_config)); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 193 | |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 194 | INEKernel::configure(std::get<1>(win_config)); |
| 195 | } |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 196 | |
Manuel Bottini | 4b5c588 | 2019-05-14 10:38:30 +0100 | [diff] [blame] | 197 | Status NEL2NormalizeLayerKernel::validate(const ITensorInfo *input, const ITensorInfo *sum, const ITensorInfo *output, int axis, float epsilon) |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 198 | { |
| 199 | ARM_COMPUTE_RETURN_ON_ERROR(validate_arguments(input, sum, output, axis, epsilon)); |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 200 | ARM_COMPUTE_RETURN_ON_ERROR(std::get<0>(validate_and_configure_window(input->clone().get(), output->clone().get()))); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 201 | |
John Richardson | 73d4aef | 2018-05-08 14:34:33 +0100 | [diff] [blame] | 202 | return Status{}; |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 203 | } |
| 204 | |
Giorgio Arena | 04a8f8c | 2017-11-23 11:45:24 +0000 | [diff] [blame] | 205 | void NEL2NormalizeLayerKernel::run(const Window &window, const ThreadInfo &info) |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 206 | { |
Moritz Pflanzer | c186b57 | 2017-09-07 09:48:04 +0100 | [diff] [blame] | 207 | ARM_COMPUTE_UNUSED(info); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 208 | ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this); |
| 209 | ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW(INEKernel::window(), window); |
| 210 | |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 211 | if(_actual_axis > 2) |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 212 | { |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 213 | ARM_COMPUTE_ERROR("Unsupported normalization axis"); |
| 214 | } |
| 215 | |
| 216 | switch(_input->info()->data_type()) |
| 217 | { |
| 218 | case DataType::F32: |
| 219 | (_actual_axis == Window::DimX) ? l2_normalize_X<float, 4>(_input, _sum, _output, _epsilon, window) : l2_normalize_YZ<float, 4>(_input, _sum, _output, _epsilon, window, _actual_axis); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 220 | break; |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 221 | #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 222 | case DataType::F16: |
| 223 | (_actual_axis == Window::DimX) ? l2_normalize_X<float16_t, 8>(_input, _sum, _output, _epsilon, window) : l2_normalize_YZ<float16_t, 8>(_input, _sum, _output, _epsilon, window, _actual_axis); |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 224 | break; |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 225 | #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 226 | default: |
Georgios Pinitas | 6cb26ce | 2020-06-24 17:20:23 +0100 | [diff] [blame] | 227 | ARM_COMPUTE_ERROR("Not implemented"); |
Georgios Pinitas | d976958 | 2017-08-03 10:19:40 +0100 | [diff] [blame] | 228 | } |
| 229 | } |
Michalis Spyrou | 2897e61 | 2018-11-20 18:38:29 +0000 | [diff] [blame] | 230 | } // namespace arm_compute |