diff options
author | Rickard Bolin <rickard.bolin@arm.com> | 2022-01-25 15:45:00 +0000 |
---|---|---|
committer | Rickard Bolin <rickard.bolin@arm.com> | 2022-02-02 08:49:52 +0000 |
commit | e546defed8b204b175f708fa51366462db41ad07 (patch) | |
tree | 4f87258f336e2f58016707f8646d9bab6257f388 /ethosu/vela/extract_npu_subgraphs.py | |
parent | 628928d32ceae5c95abd9b3a2cb7333b1e5de059 (diff) | |
download | ethos-u-vela-e546defed8b204b175f708fa51366462db41ad07.tar.gz |
MLBEDSW-3623: Diff on semantic_segmentation
The root cause of this diff is precision errors caused by rounding
several times when performing a resize bilinear upscaling to more than
twice the initial size. This is solved by rewriting the algorithm to
perform nearest neighbour upscaling to the correct size and then
applying one larger average pool instead of several 2x2 pools. Avgpool
with padding is limited to kernel size 8x8, which constraints the
largest possible bilinear upscaling to 8 times the input size.
Signed-off-by: Rickard Bolin <rickard.bolin@arm.com>
Change-Id: I846232f309ba26aab6c385e593cbe25b646c6668
Diffstat (limited to 'ethosu/vela/extract_npu_subgraphs.py')
0 files changed, 0 insertions, 0 deletions