From 3eb263e95898c933cde5450a919a161ac6b2359b Mon Sep 17 00:00:00 2001 From: SiCong Li Date: Mon, 19 Jun 2017 15:31:43 +0100 Subject: COMPMID-424 Add validation tests for Gaussian5x5 * Fix apply_2d_spatial_filter to use double as intermediate type * Fix tensor_elem_at to use random value if on border and border_mode is UNDEFINED Change-Id: I7feea23c4664cc63c5bab936566dc92b98c723b9 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78905 Tested-by: Kaizen Reviewed-by: Moritz Pflanzer --- src/runtime/NEON/functions/NEGaussian5x5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/NEON/functions/NEGaussian5x5.cpp') diff --git a/src/runtime/NEON/functions/NEGaussian5x5.cpp b/src/runtime/NEON/functions/NEGaussian5x5.cpp index 5ccc765966..69639d0d43 100644 --- a/src/runtime/NEON/functions/NEGaussian5x5.cpp +++ b/src/runtime/NEON/functions/NEGaussian5x5.cpp @@ -40,7 +40,7 @@ NEGaussian5x5::NEGaussian5x5() void NEGaussian5x5::configure(ITensor *input, ITensor *output, BorderMode border_mode, uint8_t constant_border_value) { // Init temporary buffer - TensorInfo tensor_info(input->info()->tensor_shape(), Format::S16); + TensorInfo tensor_info(input->info()->tensor_shape(), 1, DataType::S16); _tmp.allocator()->init(tensor_info); // Create and configure kernels for the two passes -- cgit v1.2.1