aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/test/RefLayerTests.cpp
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2019-06-19 18:07:25 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-06-25 09:37:27 +0000
commite440329a22e03e1813ecaaa9dad34a7d9dfd446e (patch)
treee53865f9aadd224f7661d702aebf6f742fd74790 /src/backends/reference/test/RefLayerTests.cpp
parent57f13d5905a1fbdc89b53d68b2bdc6b753b9e8d5 (diff)
downloadarmnn-e440329a22e03e1813ecaaa9dad34a7d9dfd446e.tar.gz
MLCE-103 Fix out-of-bound bug in ModelAccuracyChecker
* Inside method AddImageResult, the number of generated output may exceed the size of m_TopK. Limit the check to the size of m_TopK. Signed-off-by: SiCong Li <sicong.li@arm.com> Change-Id: Ic7513ca27a283ef6d098d5aa0a94b4f17ff04f66
Diffstat (limited to 'src/backends/reference/test/RefLayerTests.cpp')
0 files changed, 0 insertions, 0 deletions