aboutsummaryrefslogtreecommitdiff
path: root/chapters/introduction.adoc
diff options
context:
space:
mode:
authorDominic Symes <dominic.symes@arm.com>2020-10-22 15:36:24 +0100
committerDominic Symes <dominic.symes@arm.com>2020-10-22 15:39:46 +0100
commit298a029348e07903b1f78eb9994230fa205e869e (patch)
treeaeb3f2c39949992c172f56f3f30140a716990314 /chapters/introduction.adoc
parent1d84a1e8269b3f61aaa12219221e3bbf68a61fc6 (diff)
downloadspecification-298a029348e07903b1f78eb9994230fa205e869e.tar.gz
Make rank() consistent across files
Complete the function naming change from dimensions() to rank(). Fix MATMUL to use apply_add() for additions, consistent with the other operations. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I6ba84cf8b016505e8477b04dd00f2a2bf3194492
Diffstat (limited to 'chapters/introduction.adoc')
-rw-r--r--chapters/introduction.adoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chapters/introduction.adoc b/chapters/introduction.adoc
index 4137e8f..09a21dd 100644
--- a/chapters/introduction.adoc
+++ b/chapters/introduction.adoc
@@ -145,6 +145,7 @@ Tensors have an associated tensorinfo that contains information about the tensor
* Data Type
* Shape
+The number of dimensions in a shape is called the rank. Thus a tensor shape is an array of integers of size rank(shape) with shape[i] giving the the number of elements for dimension i.
The following pseudocode represents the operations that will happen to data elements as they are read in to be processed, or have their results written out.
*Functionality of tensor read*