diff options
-rw-r--r-- | examples/neon_scale.cpp | 8 | ||||
-rw-r--r-- | tests/benchmark/fixtures/ScaleFixture.h | 2 |
2 files changed, 8 insertions, 2 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(); diff --git a/tests/benchmark/fixtures/ScaleFixture.h b/tests/benchmark/fixtures/ScaleFixture.h index 1fea66fbe2..953872ea64 100644 --- a/tests/benchmark/fixtures/ScaleFixture.h +++ b/tests/benchmark/fixtures/ScaleFixture.h @@ -75,7 +75,7 @@ public: dst = create_tensor<TensorType>(shape_scaled, data_type); // Create and configure function - scale_func.configure(&src, &dst, ScaleKernelInfo{ policy, border_mode, constant_border_value, sampling_policy }); + scale_func.configure(&src, &dst, ScaleKernelInfo{ policy, border_mode, constant_border_value, sampling_policy, false }); // Allocate tensors src.allocator()->allocate(); |