From 6413e493b15b04d27304c0e52ccf2ecd2ec9c302 Mon Sep 17 00:00:00 2001 From: Alessandro Navone Date: Tue, 2 Feb 2021 11:39:05 +0000 Subject: Add DIV to Elementwise layer support at graph level COMPUTE-12654 Signed-off-by: Alessandro Navone Change-Id: I9e13e24fb3033888a86874528a72425d87b342ec Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5030 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Michele Di Giorgio --- arm_compute/graph/backends/ValidateHelpers.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'arm_compute/graph/backends/ValidateHelpers.h') diff --git a/arm_compute/graph/backends/ValidateHelpers.h b/arm_compute/graph/backends/ValidateHelpers.h index f8cb1c12e9..93d547b036 100644 --- a/arm_compute/graph/backends/ValidateHelpers.h +++ b/arm_compute/graph/backends/ValidateHelpers.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 Arm Limited. + * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -694,6 +694,10 @@ Status validate_eltwise_Layer(EltwiseLayerNode &node) { return EltwiseLayerFunctions::ElementwiseMax::validate(input1, input2, output, act_info); } + else if(eltwise_op == EltwiseOperation::Div) + { + return EltwiseLayerFunctions::ArithmeticDivision::validate(input1, input2, output, act_info); + } else { ARM_COMPUTE_ERROR("Unsupported element-wise operation!"); -- cgit v1.2.1