aboutsummaryrefslogtreecommitdiff
path: root/chapters/pseudocode.adoc
diff options
context:
space:
mode:
authorMatthew Haddon <matthew.haddon@arm.com>2021-10-13 13:38:47 +0100
committerMatthew Haddon <matthew.haddon@arm.com>2021-10-15 13:49:19 +0100
commit7c5f53273c20bbae0232b57451aa060ff1e96dbc (patch)
tree4d9c84170c614f82549a3689d1bfe399ac0c71e2 /chapters/pseudocode.adoc
parent718ef8ef9054b68e2a30738d4a2b13794276b1bc (diff)
downloadspecification-7c5f53273c20bbae0232b57451aa060ff1e96dbc.tar.gz
Add ERROR_IF checks to CONCAT operator
* Add ERROR_IF checks to ensure that inputs have the correct rank, dimension lengths, and a suitable axis value * Make REVERSE REQUIRES check into an ERROR_IF * Some minor typo/formatting fixes Change-Id: Ie133788ca7e1deab194ba5ef97e47c39cdd170b6 Signed-off-by: Matthew Haddon <matthew.haddon@arm.com>
Diffstat (limited to 'chapters/pseudocode.adoc')
-rw-r--r--chapters/pseudocode.adoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chapters/pseudocode.adoc b/chapters/pseudocode.adoc
index 79ec190..16e7e67 100644
--- a/chapters/pseudocode.adoc
+++ b/chapters/pseudocode.adoc
@@ -154,4 +154,7 @@ int floor(in_t input)
int rank(in_t input)
return rank of an input tensor
+
+int sum(in_t input[])
+ return the sum of values of an input list
---- \ No newline at end of file