From bb365de1e14144f239f03de00db9b41f61bf7373 Mon Sep 17 00:00:00 2001 From: Giuseppe Rossini Date: Fri, 15 Feb 2019 10:24:47 +0000 Subject: Revert "COMPMID-1329: Add support for GenerateProposals operator in CL" This reverts commit cd96a26f67bfbb9b0efe6e0e2b229d0b46b4e3e6. Change-Id: I1d46f37095c94968ad4f3b781269adaa03e2e410 Signed-off-by: giuros01 Reviewed-on: https://review.mlplatform.org/706 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- arm_compute/graph/backends/ValidateHelpers.h | 29 +--------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (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 f1e53613ab..1b06f31bed 100644 --- a/arm_compute/graph/backends/ValidateHelpers.h +++ b/arm_compute/graph/backends/ValidateHelpers.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -228,33 +228,6 @@ Status validate_detection_output_layer(DetectionOutputLayerNode &node) return DetectionOutputLayer::validate(input0, input1, input2, output, detect_info); } -/** Validates a Generate Proposals layer node - * - * @tparam GenerateProposalsLayer Generate Proposals layer type - * - * @param[in] node Node to validate - * - * @return Status - */ -template -Status validate_generate_proposals_layer(GenerateProposalsLayerNode &node) -{ - ARM_COMPUTE_LOG_GRAPH_VERBOSE("Validating GenerateProposalsLayer node with ID : " << node.id() << " and Name: " << node.name() << std::endl); - ARM_COMPUTE_RETURN_ERROR_ON(node.num_inputs() != 3); - ARM_COMPUTE_RETURN_ERROR_ON(node.num_outputs() != 3); - - // Extract IO and info - arm_compute::ITensorInfo *scores = detail::get_backing_tensor_info(node.input(0)); - arm_compute::ITensorInfo *deltas = detail::get_backing_tensor_info(node.input(1)); - arm_compute::ITensorInfo *anchors = detail::get_backing_tensor_info(node.input(2)); - arm_compute::ITensorInfo *proposals = get_backing_tensor_info(node.output(0)); - arm_compute::ITensorInfo *scores_out = get_backing_tensor_info(node.output(1)); - arm_compute::ITensorInfo *num_valid_proposals = get_backing_tensor_info(node.output(2)); - const GenerateProposalsInfo info = node.info(); - - return GenerateProposalsLayer::validate(scores, deltas, anchors, proposals, scores_out, num_valid_proposals, info); -} - /** Validates a NormalizePlanarYUV layer node * * @tparam NormalizePlanarYUVLayer layer type -- cgit v1.2.1