aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/GraphBuilder.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2018-11-13 12:04:25 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2018-11-15 13:43:01 +0000
commit47e6fede687a301137cef25ff729e68d099d4520 (patch)
treed4f7044fef8cd065c2378d671fc2c39e84dc19a8 /arm_compute/graph/GraphBuilder.h
parent80a2990b9e0d2eba7962e83d0e9379cd7e307c7d (diff)
downloadComputeLibrary-47e6fede687a301137cef25ff729e68d099d4520.tar.gz
COMPMID-1639: Add GenerateProposals to the graph API
Change-Id: Icf813a0a87d4a07e180eafdb5fa916b2ea4028d2
Diffstat (limited to 'arm_compute/graph/GraphBuilder.h')
-rw-r--r--arm_compute/graph/GraphBuilder.h13
1 files changed, 13 insertions, 0 deletions
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