From 47e6fede687a301137cef25ff729e68d099d4520 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Tue, 13 Nov 2018 12:04:25 +0000 Subject: COMPMID-1639: Add GenerateProposals to the graph API Change-Id: Icf813a0a87d4a07e180eafdb5fa916b2ea4028d2 --- arm_compute/graph/GraphBuilder.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'arm_compute/graph/GraphBuilder.h') diff --git a/arm_compute/graph/GraphBuilder.h b/arm_compute/graph/GraphBuilder.h index 611e69dbb3..c501006ec6 100644 --- a/arm_compute/graph/GraphBuilder.h +++ b/arm_compute/graph/GraphBuilder.h @@ -240,6 +240,19 @@ public: const FullyConnectedLayerInfo fc_info = FullyConnectedLayerInfo(), const QuantizationInfo weights_quant_info = QuantizationInfo(), const QuantizationInfo out_quant_info = QuantizationInfo()); + /** Adds a generate proposals layer node to the graph + * + * @param[in] g Graph to add the layer to + * @param[in] params Common node parameters + * @param[in] scores Input scores to the generate proposals layer node as a NodeID-Index pair + * @param[in] deltas Input deltas to the generate proposals layer node as a NodeID-Index pair + * @param[in] anchors Input anchors to the generate proposals layer node as a NodeID-Index pair + * @param[in] info Generate proposals operation information + * + * @return Node ID of the created node, EmptyNodeID in case of error + */ + static NodeID add_generate_proposals_node(Graph &g, NodeParams params, NodeIdxPair scores, NodeIdxPair deltas, + NodeIdxPair anchors, GenerateProposalsInfo info); /** Adds a normalization layer node to the graph * * @param[in] g Graph to add the node to -- cgit v1.2.1