diff options
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/NEON/functions/NEDepthConvert.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/runtime/NEON/functions/NEDepthConvert.cpp b/src/runtime/NEON/functions/NEDepthConvert.cpp index 011e366bf3..24b51493c6 100644 --- a/src/runtime/NEON/functions/NEDepthConvert.cpp +++ b/src/runtime/NEON/functions/NEDepthConvert.cpp @@ -23,9 +23,7 @@ */ #include "arm_compute/runtime/NEON/functions/NEDepthConvert.h" -#include "arm_compute/core/Error.h" #include "arm_compute/core/NEON/kernels/NEDepthConvertKernel.h" -#include "arm_compute/core/Validate.h" #include "support/ToolchainSupport.h" #include <utility> @@ -34,11 +32,6 @@ using namespace arm_compute; void NEDepthConvert::configure(const ITensor *input, ITensor *output, ConvertPolicy policy, uint32_t shift) { - ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::U8, DataType::QS8, DataType::U16, DataType::S16, DataType::U32, DataType::S32, DataType::F32); - ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(output, 1, DataType::U8, DataType::QS8, DataType::U16, DataType::S16, DataType::U32, DataType::S32, DataType::F32); - ARM_COMPUTE_ERROR_ON(input == output); - ARM_COMPUTE_ERROR_ON(input->info()->data_type() == output->info()->data_type()); - auto k = arm_compute::support::cpp14::make_unique<NEDepthConvertKernel>(); k->configure(input, output, policy, shift); _kernel = std::move(k); |