diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2018-10-19 14:04:42 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-11-16 13:02:50 +0000 |
commit | 3f9d4d7c7242f50330dca4ff104a76bc88804903 (patch) | |
tree | 28ec462d1d3d2bb7fa0a66de44b51798abfe96b0 /arm_compute/graph/GraphBuilder.h | |
parent | 721c4cb0e1fbf1f151a79cd4c9d67e832f94f9bf (diff) | |
download | ComputeLibrary-3f9d4d7c7242f50330dca4ff104a76bc88804903.tar.gz |
COMPMID-1637 - Add ROIAlign operator to the graph API
Change-Id: I8a9b1e16d90b9d99a6ff2a442347748432723b14
Diffstat (limited to 'arm_compute/graph/GraphBuilder.h')
-rw-r--r-- | arm_compute/graph/GraphBuilder.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arm_compute/graph/GraphBuilder.h b/arm_compute/graph/GraphBuilder.h index c501006ec6..22fc041684 100644 --- a/arm_compute/graph/GraphBuilder.h +++ b/arm_compute/graph/GraphBuilder.h @@ -340,6 +340,17 @@ public: * @return Node ID of the created node, EmptyNodeID in case of error */ static NodeID add_resize_node(Graph &g, NodeParams params, NodeIdxPair input, InterpolationPolicy policy, float width_scale, float height_scale); + /** Adds a ROI align layer node to the graph + * + * @param[in] g Graph to add the node to + * @param[in] params Common node parameters + * @param[in] input Input to the reshape layer node as a NodeID-Index pair + * @param[in] rois Input containing @ref ROI. + * @param[in] pool_info Contains pooling operation information described in @ref ROIPoolingLayerInfo. + * + * @return Node ID of the created node, EmptyNodeID in case of error + */ + static NodeID add_roi_align_node(Graph &g, NodeParams params, NodeIdxPair input, NodeIdxPair rois, ROIPoolingLayerInfo pool_info); /** Adds a scale layer node to the graph * This layer computes a product of the input with a scale (read from mul_accessor) and it applies an offset (read from add_accessor). * output = input * mul_w + add_w |