diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-01-25 22:56:46 -0800 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-02-01 17:11:05 -0800 |
commit | 830add41f1f085f63dddf8a99e2512585d06cec4 (patch) | |
tree | bf4d919443f072c6fbb030f437888c8f38591e04 /reference_model/src/ops/type_conversion.cc | |
parent | 39f127b0be84fdc87724abab75fd1bb313444d6c (diff) | |
download | reference_model-830add41f1f085f63dddf8a99e2512585d06cec4.tar.gz |
Rework divisor calculation for AVGPOOL2D
Previous code assumed symmetric padding when calculating the divisor for
the average pool, and had issues with extra padding.
The padding now follows the definition from the specification. Extra
padding to the right/bottom is ignored when calculating the average pool
divisor.
Change-Id: Ib05e2346c6e9d55b6fef5294322e58ee18ef4928
Diffstat (limited to 'reference_model/src/ops/type_conversion.cc')
0 files changed, 0 insertions, 0 deletions