From a4a96015a6c7d92bed08f82db9b36e1d34f9386d Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Mon, 9 Oct 2017 15:46:30 +0100 Subject: COMPMID-554 Add Nodes - BatchNormalization - L2Normalize - Floor Change-Id: I03e06dea30e956f56a86f9c5642cd609c6696ad2 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91364 Tested-by: Kaizen Reviewed-by: Georgios Pinitas --- src/core/CL/kernels/CLFloorKernel.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/core/CL') diff --git a/src/core/CL/kernels/CLFloorKernel.cpp b/src/core/CL/kernels/CLFloorKernel.cpp index 6c9f83f166..11f8e33319 100644 --- a/src/core/CL/kernels/CLFloorKernel.cpp +++ b/src/core/CL/kernels/CLFloorKernel.cpp @@ -44,10 +44,8 @@ void CLFloorKernel::configure(const ICLTensor *input, ICLTensor *output) { ARM_COMPUTE_ERROR_ON_NULLPTR(input, output); - set_shape_if_empty(*output->info(), input->info()->tensor_shape()); - - set_data_type_if_unknown(*input->info(), DataType::F32); - set_data_type_if_unknown(*output->info(), DataType::F32); + // Auto initialize output + auto_init_if_empty(*output->info(), input->info()->tensor_shape(), 1, input->info()->data_type(), input->info()->fixed_point_position()); ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::F32); ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES(input, output); -- cgit v1.2.1