diff options
author | Eric Kunze <eric.kunze@arm.com> | 2021-03-11 15:38:22 -0800 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2021-03-11 15:39:53 -0800 |
commit | 839830a72ebb27c4a818e15d3334e79085906dc8 (patch) | |
tree | 9999a6fc050d75122eb0a46a215558c0665d6e91 /chapters/ewise_unary.adoc | |
parent | 8e4a9d33f0527107fda724fc0f7b6b7c1f42bf79 (diff) | |
download | specification-839830a72ebb27c4a818e15d3334e79085906dc8.tar.gz |
Make pseudocode block tags consistent
They are all now [source,c++] and use ---- as the
delimiter.
Also made the pseudocode indentation consistent (4 spaces)
in the introduction sections.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I1287a60cfeae8b7e3c63b9fc8885b1ebf3d3386d
Diffstat (limited to 'chapters/ewise_unary.adoc')
-rw-r--r-- | chapters/ewise_unary.adoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapters/ewise_unary.adoc b/chapters/ewise_unary.adoc index 3784274..21b14ef 100644 --- a/chapters/ewise_unary.adoc +++ b/chapters/ewise_unary.adoc @@ -24,7 +24,7 @@ Elementwise absolute value operation *Operation Function:* -[source,c] +[source,c++] ---- for_each(index in shape) { in_t value1 = tensor_read<in_t>(input1, shape, index); @@ -62,7 +62,7 @@ None *Operation Function:* -[source,c] +[source,c++] ---- for_each(index in shape) { in_t value1 = tensor_read<in_t>(input1, shape, index); @@ -117,7 +117,7 @@ Elementwise count leading zeros operation *Operation Function:* -[source,c] +[source,c++] ---- for_each(index in shape) { in_t acc = 0; @@ -216,7 +216,7 @@ None *Operation Function:* -[source,c] +[source,c++] ---- for_each(index in shape) { in_t value1 = tensor_read<in_t>(input1, shape1, index); @@ -257,7 +257,7 @@ Elementwise negation operation *Operation Function:* -[source,c] +[source,c++] ---- assert(in_t == int8_t || input1_zp == 0) // Zero point only for int8_t assert(in_t == int8_t || output_zp == 0) // Zero point only for int8_t |