From e4d6a1b99337f33cfaf343005e355ef7a68b2be9 Mon Sep 17 00:00:00 2001 From: Dominic Symes Date: Fri, 4 Nov 2022 18:00:03 +0000 Subject: Add Levels defintion Add definition of Level 1.0. Signed-off-by: Dominic Symes Change-Id: I1b34ae22396f273cc5ecdf99198fdbece6e2809c --- chapters/operators.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chapters/operators.adoc') diff --git a/chapters/operators.adoc b/chapters/operators.adoc index bec93c1..d6d1f13 100644 --- a/chapters/operators.adoc +++ b/chapters/operators.adoc @@ -45,7 +45,7 @@ The following function denotes the execution of a TOSA graph, on an input tensor [source,c++] ---- -tosa_execute_graph(tosa_graph_t graph, tosa_list_t input_list, tosa_list_t output_list) { +tosa_execute_graph(tosa_graph_t graph, tosa_list_t input_list, tosa_list_t output_list, tosa_level_t level) { ERROR_IF(tensor_list_shape(input_list) != tosa_input_shape(graph)); ERROR_IF(tensor_list_shape(output_list) != tosa_output_shape(graph)); for_each(operator in graph order) { @@ -53,7 +53,8 @@ tosa_execute_graph(tosa_graph_t graph, tosa_list_t input_list, tosa_list_t outpu ERROR_IF(operator attributes do not meet requirement of operator Arguments attributes) ERROR_IF(operator output tensors do not meet requirement of operator Arguments outputs) ERROR_IF(operator data types do not meet requirement of operator Supported Data Types) - + // Execute the operator as defined by the operation function pseduo-code + tosa_execute_operator(operator, level); } } ---- -- cgit v1.2.1