diff options
Diffstat (limited to 'chapters/shape.adoc')
-rw-r--r-- | chapters/shape.adoc | 11 |
1 files changed, 11 insertions, 0 deletions
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. |