diff options
Diffstat (limited to 'chapters/tensor_ops.adoc')
-rw-r--r-- | chapters/tensor_ops.adoc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/chapters/tensor_ops.adoc b/chapters/tensor_ops.adoc index 3ebb2c2..b8527bf 100644 --- a/chapters/tensor_ops.adoc +++ b/chapters/tensor_ops.adoc @@ -15,8 +15,6 @@ This returns the index with the largest value across the given axis of the input include::{generated}/operators/ARGMAX.adoc[] -*Operation Function:* - [source,c++] ---- ERROR_IF(axis < 0 || axis >= rank(shape1) || rank(shape1) > 4); @@ -54,8 +52,6 @@ When calculating the average, only the number of valid input tensor values, but include::{generated}/operators/AVG_POOL2D.adoc[] -*Operation Function:* - [source,c++] ---- ERROR_IF(in_out_t != int8_t && input_zp != 0); // Zero point only for int8_t @@ -105,8 +101,6 @@ Performs a 2D convolution over the given tensor input, using the weight tensor. include::{generated}/operators/CONV2D.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(in_t != int8_t && input_zp != 0); // Zero point only for int8_t @@ -144,8 +138,6 @@ Performs a 3D convolution over the given input tensor. include::{generated}/operators/CONV3D.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(in_t != int8_t && input_zp != 0); // Zero point only for int8_t @@ -186,8 +178,6 @@ Performs 2D convolutions separately over each channel of the given tensor input, include::{generated}/operators/DEPTHWISE_CONV2D.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(in_t != int8_t && input_zp != 0); // Zero point only for int8_t @@ -238,8 +228,6 @@ image::inverse_fft2d.svg["inverse FFT definition", align="center"] include::{generated}/operators/FFT2D.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(!power_of_two(H)); @@ -272,8 +260,6 @@ Performs a fully connected network. include::{generated}/operators/FULLY_CONNECTED.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(in_t != int8_t && input_zp != 0); // Zero point only for int8_t @@ -298,8 +284,6 @@ Performs two dimensional matrix multiplications. This allows both inputs to be a include::{generated}/operators/MATMUL.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(in_t != int8_t && (A_zp != 0 || B_zp != 0)); // Zero point only for int8_t @@ -322,8 +306,6 @@ This performs a max pooling over the given input tensor. A sliding window of siz include::{generated}/operators/MAX_POOL2D.adoc[] -*Operation Function:* - [source,c++] ---- ERROR_IF(kernel_y < 1 || kernel_x < 1); // kernel size must be >= 1 @@ -363,8 +345,6 @@ image::forward_fft2d.svg["forward FFT definition", align="center"] include::{generated}/operators/RFFT2D.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(!power_of_two(H)); @@ -390,8 +370,6 @@ Performs a 2D transposed convolution over the given tensor input, using the weig include::{generated}/operators/TRANSPOSE_CONV2D.adoc[] -*Operation Function* - [source,c++] ---- ERROR_IF(in_t != int8_t && input_zp != 0); // Zero point only allowed for int8_t |