aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp')
-rw-r--r--src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp b/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
index 1af0b18933..1f3e5d1192 100644
--- a/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
+++ b/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
@@ -158,8 +158,8 @@ void NEDepthwiseConvolutionLayer::configure(ITensor *input, const ITensor *weigh
}
// Fill borders on inputs
- PixelValue zero_in(0);
- PixelValue zero_w(0);
+ PixelValue zero_in(static_cast<int32_t>(0));
+ PixelValue zero_w(static_cast<int32_t>(0));
if(_is_quantized)
{
zero_in = PixelValue(static_cast<int32_t>(input->info()->quantization_info().offset));
@@ -189,4 +189,4 @@ void NEDepthwiseConvolutionLayer::run()
{
NEScheduler::get().schedule(&_output_stage_kernel, Window::DimX);
}
-} \ No newline at end of file
+}