diff options
Diffstat (limited to 'src/core/CL/kernels/CLQLSTMLayerNormalizationKernel.cpp')
-rw-r--r-- | src/core/CL/kernels/CLQLSTMLayerNormalizationKernel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CL/kernels/CLQLSTMLayerNormalizationKernel.cpp b/src/core/CL/kernels/CLQLSTMLayerNormalizationKernel.cpp index 3a66d084b9..ccc61783c4 100644 --- a/src/core/CL/kernels/CLQLSTMLayerNormalizationKernel.cpp +++ b/src/core/CL/kernels/CLQLSTMLayerNormalizationKernel.cpp @@ -88,6 +88,7 @@ CLQLSTMLayerNormalizationKernel::CLQLSTMLayerNormalizationKernel() void CLQLSTMLayerNormalizationKernel::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, const ICLTensor *weight, const ICLTensor *bias) { ARM_COMPUTE_ERROR_ON_NULLPTR(input, weight, bias, output); + auto padding_info = get_padding_info({ input, weight, bias, output }); ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(input->info(), output->info(), weight->info(), bias->info())); @@ -129,6 +130,7 @@ void CLQLSTMLayerNormalizationKernel::configure(const CLCompileContext &compile_ _config_id += support::cpp11::to_string(input->info()->dimension(0)); _config_id += "_"; _config_id += support::cpp11::to_string(input->info()->dimension(1)); + ARM_COMPUTE_ERROR_ON(has_padding_changed(padding_info)); } void CLQLSTMLayerNormalizationKernel::configure(const ICLTensor *input, ICLTensor *output, const ICLTensor *weight, const ICLTensor *bias) |