diff options
Diffstat (limited to 'chapters')
-rw-r--r-- | chapters/data_layout.adoc | 11 | ||||
-rw-r--r-- | chapters/shape.adoc | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/chapters/data_layout.adoc b/chapters/data_layout.adoc index c6afc4f..7b98271 100644 --- a/chapters/data_layout.adoc +++ b/chapters/data_layout.adoc @@ -33,17 +33,6 @@ include::{generated}/operators/PAD.adoc[] include::{pseudocode}/operators/PAD.tosac[lines=10..-1] ---- -==== DIM - -Returns a length 1 shape_t of the size of the input tensor for the given axis. - -include::{generated}/operators/DIM.adoc[] - -[source,c++] ----- -include::{pseudocode}/operators/DIM.tosac[lines=10..-1] ----- - ==== RESHAPE Returns a tensor with the same type/values as the input, with a new shape specified by the shape argument. Reshape may operate on tensors of any rank. No data conversion happens during a reshape operation. diff --git a/chapters/shape.adoc b/chapters/shape.adoc index 1b58465..1f91cd4 100644 --- a/chapters/shape.adoc +++ b/chapters/shape.adoc @@ -49,6 +49,17 @@ include::{generated}/operators/CONST_SHAPE.adoc[] include::{pseudocode}/operators/CONST_SHAPE.tosac[lines=10..-1] ---- +==== DIM + +Returns a length 1 shape_t of the size of the input tensor for the given axis. + +include::{generated}/operators/DIM.adoc[] + +[source,c++] +---- +include::{pseudocode}/operators/DIM.tosac[lines=10..-1] +---- + ==== DIV_SHAPE Elementwise integer divide of input1 by input2. The result of the divide is truncated towards zero. |