diff options
Diffstat (limited to 'chapters/data_layout.adoc')
-rw-r--r-- | chapters/data_layout.adoc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/chapters/data_layout.adoc b/chapters/data_layout.adoc index e7aadfe..395cb6b 100644 --- a/chapters/data_layout.adoc +++ b/chapters/data_layout.adoc @@ -15,8 +15,6 @@ No data conversion happens during a concat operation. include::{generated}/operators/CONCAT.adoc[] -*Operation Function:* - [source,c] ---- ERROR_IF(axis < 0 || axis >= rank(shapes1[0])); @@ -52,8 +50,6 @@ The pad_const value includes the zero point if the tensor uses a zero point. include::{generated}/operators/PAD.adoc[] -*Operation Function:* - [source,c++] ---- // Check output shape matches the padded input shape @@ -82,8 +78,6 @@ Returns a tensor with the same type/values as the input, with a new shape specif include::{generated}/operators/RESHAPE.adoc[] -*Operation Function:* - [source,c++] ---- ERROR_IF(tensor_size(shape1) != tensor_size(shape)); @@ -106,8 +100,6 @@ Returns a tensor with the same type/values as the input, with the data reversed include::{generated}/operators/REVERSE.adoc[] -*Operation Function:* - [source,c++] ---- ERROR_IF(axis < 0 || axis >= rank(shape)); @@ -126,8 +118,6 @@ No data conversion happens during a slice operation. include::{generated}/operators/SLICE.adoc[] -*Operation Function:* - [source,c++] ---- ERROR_IF(rank(input1) != length(start) || rank(input1) != length(size)); @@ -157,8 +147,6 @@ Replicates input1 multiples times along each dimension. include::{generated}/operators/TILE.adoc[] -*Operation Function:* - [source,c++] ---- for_each(index in shape) { @@ -179,8 +167,6 @@ Each value in the perms list must be a valid dimension of the input tensor and m include::{generated}/operators/TRANSPOSE.adoc[] -*Operation Function:* - [source,c++] ---- for_each(index in perms) { |