aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NERemap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/NEON/functions/NERemap.cpp')
-rw-r--r--src/runtime/NEON/functions/NERemap.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/runtime/NEON/functions/NERemap.cpp b/src/runtime/NEON/functions/NERemap.cpp
index a55f7bc218..d9fd987480 100644
--- a/src/runtime/NEON/functions/NERemap.cpp
+++ b/src/runtime/NEON/functions/NERemap.cpp
@@ -25,11 +25,9 @@
#include "arm_compute/core/Error.h"
#include "arm_compute/core/ITensor.h"
-#include "arm_compute/core/PixelValue.h"
#include "arm_compute/core/TensorInfo.h"
#include "arm_compute/core/Validate.h"
#include "arm_compute/runtime/TensorAllocator.h"
-#include "src/core/NEON/kernels/NEFillBorderKernel.h"
#include "src/core/NEON/kernels/NERemapKernel.h"
#include <utility>
@@ -45,11 +43,7 @@ void NERemap::configure(ITensor *input, const ITensor *map_x, const ITensor *map
ARM_COMPUTE_ERROR_ON_MSG(policy == InterpolationPolicy::AREA, "Area interpolation is not supported");
auto k = std::make_unique<NERemapKernel>();
- k->configure(input, map_x, map_y, output, policy);
+ k->configure(input, map_x, map_y, output, policy, border_mode, constant_border_value);
_kernel = std::move(k);
-
- auto b = std::make_unique<NEFillBorderKernel>();
- b->configure(input, _kernel->border_size(), border_mode, PixelValue(constant_border_value));
- _border_handler = std::move(b);
}
} // namespace arm_compute