aboutsummaryrefslogtreecommitdiff
path: root/chapters/introduction.adoc
diff options
context:
space:
mode:
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*