aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/GraphBuilder.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2018-09-12 13:51:59 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit555d1109dd566661bcf911c28030927cf4fde5b4 (patch)
treed64259ea8062d34a813531d73cc195c90b153f87 /arm_compute/graph/GraphBuilder.h
parentc98b99094aecaed81baa750b3210c1779145efe9 (diff)
downloadComputeLibrary-555d1109dd566661bcf911c28030927cf4fde5b4.tar.gz
COMPMID-1577: Add NormalizePlanarYUVLayer to graph API
Change-Id: Iadcf8205ff842330f7242f870705e9ea677ec419 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/148105 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph/GraphBuilder.h')
-rw-r--r--arm_compute/graph/GraphBuilder.h12
1 files changed, 12 insertions, 0 deletions
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