aboutsummaryrefslogtreecommitdiff
path: root/examples/neon_scale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/neon_scale.cpp')
-rw-r--r--examples/neon_scale.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/neon_scale.cpp b/examples/neon_scale.cpp
index ac9d0620ea..f120ea7f96 100644
--- a/examples/neon_scale.cpp
+++ b/examples/neon_scale.cpp
@@ -60,7 +60,13 @@ public:
dst.allocator()->init(dst_tensor_info);
// Configure Scale function object:
- scale.configure(&src, &dst, ScaleKernelInfo{ InterpolationPolicy::NEAREST_NEIGHBOR, BorderMode::UNDEFINED });
+ scale.configure(&src, &dst, ScaleKernelInfo{
+ InterpolationPolicy::NEAREST_NEIGHBOR,
+ BorderMode::UNDEFINED,
+ PixelValue(),
+ SamplingPolicy::CENTER,
+ false
+ });
// Allocate all the images
src.allocator()->allocate();