From 555d1109dd566661bcf911c28030927cf4fde5b4 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Wed, 12 Sep 2018 13:51:59 +0100 Subject: COMPMID-1577: Add NormalizePlanarYUVLayer to graph API Change-Id: Iadcf8205ff842330f7242f870705e9ea677ec419 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/148105 Reviewed-by: Georgios Pinitas Tested-by: Jenkins --- arm_compute/graph/GraphBuilder.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arm_compute/graph/GraphBuilder.h') diff --git a/arm_compute/graph/GraphBuilder.h b/arm_compute/graph/GraphBuilder.h index d7502600a4..21a96a36c0 100644 --- a/arm_compute/graph/GraphBuilder.h +++ b/arm_compute/graph/GraphBuilder.h @@ -239,6 +239,18 @@ public: * @return Node ID of the created node, EmptyNodeID in case of error */ static NodeID add_normalization_node(Graph &g, NodeParams params, NodeIdxPair input, NormalizationLayerInfo norm_info); + /** Adds a normalize planar YUV 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 normalize planar YUV layer node as a NodeID-Index pair + * @param[in] mean_accessor Const Node ID that contains the mean values + * @param[in] std_accessor Const Node ID that contains the variance values + * + * @return Node ID of the created node, EmptyNodeID in case of error + */ + static NodeID add_normalize_planar_yuv_node(Graph &g, NodeParams params, NodeIdxPair input, + ITensorAccessorUPtr mean_accessor = nullptr, ITensorAccessorUPtr std_accessor = nullptr); /** Adds a permute layer node to the graph * * @param[in] g Graph to add the node to -- cgit v1.2.1