aboutsummaryrefslogtreecommitdiff
path: root/src/graph/backends/NEON/NENodeValidator.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-04 13:21:02 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-05 13:44:15 +0000
commit07fbe3707608bf0c08efb42e15d9b1afaf16ef1e (patch)
tree0d2edea779a5f44c037de53ef120722ddb273167 /src/graph/backends/NEON/NENodeValidator.cpp
parent5c829cab49b0dcffd893065af05f0bf028e7a548 (diff)
downloadComputeLibrary-07fbe3707608bf0c08efb42e15d9b1afaf16ef1e.tar.gz
COMPMID-2819: Enable PadLayer on NEON graph backend.
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I0114d6999413cbb0602db19c68b9c41c419c6df0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2682 Reviewed-by: Giuseppe Rossini <giuseppe.rossini@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/graph/backends/NEON/NENodeValidator.cpp')
-rw-r--r--src/graph/backends/NEON/NENodeValidator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph/backends/NEON/NENodeValidator.cpp b/src/graph/backends/NEON/NENodeValidator.cpp
index fc849595ff..ec8c0e5222 100644
--- a/src/graph/backends/NEON/NENodeValidator.cpp
+++ b/src/graph/backends/NEON/NENodeValidator.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019 ARM Limited.
+ * Copyright (c) 2018-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -70,7 +70,7 @@ Status NENodeValidator::validate(INode *node)
case NodeType::NormalizePlanarYUVLayer:
return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : NormalizePlanarYUVLayer");
case NodeType::PadLayer:
- return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : PadLayer");
+ return detail::validate_pad_layer<NEPadLayer>(*polymorphic_downcast<PadLayerNode *>(node));
case NodeType::PermuteLayer:
return detail::validate_permute_layer<NEPermute>(*polymorphic_downcast<PermuteLayerNode *>(node));
case NodeType::PriorBoxLayer: