commit | b37e7fb865744536b708c8baa49b6415eab07b04 | [log] [tgz] |
---|---|---|
author | Eric Kunze <eric.kunze@arm.com> | Tue Sep 21 16:56:20 2021 -0700 |
committer | Eric Kunze <eric.kunze@arm.com> | Fri Sep 24 16:19:50 2021 -0700 |
tree | 179ca5c9322f342993c82a67a16208c810d4ba10 | |
parent | f1b531ac7a0a045301d39ba14d5c1dc5dc691ddc [diff] |
Don't allow pooling ops with excessive padding Padding larger than the kernel size leads to the odd effect where no values from the input tensor are used. This leads to a divide by 0 in AVG_POOL2D, as it only divides by the number of valid input values used, not padding. Change MAX_POOL2D to have the same limitation for consistency. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I9cd0c0619f88f570d30c83053280460ae3d1cbfb
This repository contains the source files for the TOSA specification. See the specification itself for details on the purpose and definition of the specification.
The TOSA specification is written in asciidoc format, and has been built using the following tools:
The default make
build creates both an html and a pdf version of the specification in out/html and out/pdf
If only an html build is required, make html
will build only the html file, and asciidoctor-pdf is not needed.
If only a pdf build is required, make pdf
will build only the pdf.