From 3747fdaeb8fbbde4d81b69704d99544f3ea7febc Mon Sep 17 00:00:00 2001 From: Dominic Symes Date: Mon, 25 Oct 2021 11:46:09 +0100 Subject: RESIZE: Clarify output dimensions Clarify how RESIZE output dimensions are related to the input dimensions and add the border attributes to give a relation equation Change-Id: I081464de140634d1a99fd8538112c65af949385e Signed-off-by: Dominic Symes --- chapters/image.adoc | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/chapters/image.adoc b/chapters/image.adoc index 7476d8a..16e83b5 100644 --- a/chapters/image.adoc +++ b/chapters/image.adoc @@ -25,11 +25,27 @@ factor for each input. These values are then summed to create the value for output, which has 2 * shift fractional bits. To convert back to the original integer size, the output value must be rescaled. -For floating-point stride, stride_y should be set to IH/OH, stride_x should be -set to IW/OW. When using integer stride, stride_y is approximately -(IH<= 16384); ERROR_IF(stride_x <= 0 || stride_y <= 0); -- cgit v1.2.1