[neurun] Fix linear interpolation in ExecTime::getOperationExecTime (#5614)
authorДилшоджон Умронхонович Пошшоев/AI Tools Lab /SRR/Engineer/삼성전자 <d.poshshoev@samsung.com>
Tue, 16 Jul 2019 10:13:44 +0000 (19:13 +0900)
committer이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Tue, 16 Jul 2019 10:13:44 +0000 (19:13 +0900)
commitea81ca432a701203f74dede304d86ff65da15d30
treef95e992d3c7b6029fa30ac4806015931b5faa2a1
parent45c33d3ed504df91975e44c0742971899d304f01
[neurun] Fix linear interpolation in ExecTime::getOperationExecTime (#5614)

In some cases ops with smaller inputs is executed slower than the one
with larger inputs, more likely because of a backend's load difference.
In such cases result of lin-interpolation is negative, which is wrong

Signed-off-by: Dilshodzhon Poshshoev <d.poshshoev@samsung.com>
runtimes/neurun/core/src/backend/ExecTime.cc