aboutsummaryrefslogtreecommitdiff
path: root/pseudocode
AgeCommit message (Collapse)Author
2024-01-23pseudocode: use correct variable to write out data in REDUCE_MINKevin Petit
Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I7cad7d2bc6212e1765fbe3027abfb1fe37111445
2024-01-23pseudocode: fix name mismatches with operator arguments in the XMLKevin Petit
Change either the name in the pseudocode or XML to what feels more "natural" or in line with other related names. Change-Id: Ic12a0418a80642c548c288b6ba26a4603b94fedc Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2024-01-23pseudocode: replace C-style casts with static_castKevin Petit
Change-Id: Ic362e5cbc607d1b7560c09326fcebcba606454ce Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2024-01-23pseudocode: use true/false consistently for boolean valuesKevin Petit
- Some operators were using True and False. - Document the use of true and false in the definition of the boolean number format. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: Ic4c16c8527d46ca01d22e3c70c5371821a726df8
2024-01-19Fix typo in argmax pseudocodeThomas Preud'homme
Axis is a dimension index of the input tensor, but is used to index the output tensor. Signed-off-by: Thomas Preud'homme <thomas.preudhomme@arm.com> Change-Id: Ie50f3921153e01437fe763b5d2b6cfaa06049f25
2024-01-19pseudocode: only use commas to separate ranges in for_each statementsKevin Petit
The semicolons had no semantic meaning. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I9447ea24c82a32c8bfe07fcc560f34a696e59831
2024-01-16pseudocode: a collection of trivial fixesKevin Petit
- Add missing parenthesis in ARITHMETIC_SHIFT_RIGHT - Add missing semicolons - Remove stray dot in VARIABLE_WRITE Change-Id: I28ab7c80c735995437588fffeffb1f12d112f3ec Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2024-01-15Move operator pseudocode to separate filesKevin Petit
This makes it easier to process the pseudocode automatically. Change-Id: I84394192598e589de07d43a7af60b96788e14f86 Signed-off-by: Kevin Petit <kevin.petit@arm.com>