aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/kernels/CLSoftmaxLayerKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLSoftmaxLayerKernel.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp b/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp
index af4fd88593..5331f40838 100644
--- a/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp
+++ b/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp
@@ -386,11 +386,7 @@ void CLLogits1DNormKernel::configure(const ICLTensor *input, const ICLTensor *su
// Output auto initialization if not yet initialized
auto_init_if_empty(*output->info(),
- input->info()->tensor_shape(),
- 1,
- output_data_type,
- input->info()->fixed_point_position(),
- allowed_quantization_info);
+ input->info()->clone()->set_data_type(output_data_type).set_quantization_info(allowed_quantization_info));
ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES(input, output);
if(!is_quantized_asymmetric)