diff options
author | Dominic Symes <dominic.symes@arm.com> | 2022-11-04 18:00:03 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-12-05 19:18:51 +0000 |
commit | e4d6a1b99337f33cfaf343005e355ef7a68b2be9 (patch) | |
tree | 32ae772f418c53ad90e7f069caf59f51dfb7b6f0 /chapters/operators.adoc | |
parent | 1cf84e95f85d510f55720fb98694530923ba9a1c (diff) | |
download | specification-e4d6a1b99337f33cfaf343005e355ef7a68b2be9.tar.gz |
Add Levels defintion
Add definition of Level 1.0.
Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Change-Id: I1b34ae22396f273cc5ecdf99198fdbece6e2809c
Diffstat (limited to 'chapters/operators.adoc')
-rw-r--r-- | chapters/operators.adoc | 5 |
1 files changed, 3 insertions, 2 deletions
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 operator as defined by the Operation Function pseduo-code> + // Execute the operator as defined by the operation function pseduo-code + tosa_execute_operator(operator, level); } } ---- |