benchmark icon indicating copy to clipboard operation
benchmark copied to clipboard

Add flops&bytes computation for bilinear_interp script

Open AshburnLee opened this issue 3 years ago • 2 comments

功能

计算bilinear_interp 前向的flops&bytes

效果

截屏2022-02-08 14 26 28

依据

根据双线性差值公式: 截屏2022-02-08 14 13 27 其中读取f(Q11)、f(Q21)、f(Q12)、f(Q22)计算得到目标数值,写入f(x,y)

得到一个输出包括3个加法,10个减法,9个乘法和一个除法。得到每个像素点需要读4个地址,写入1个地址。

AshburnLee avatar Feb 08 '22 06:02 AshburnLee

Thanks for your contribution! Please wait for the result of CI firstly.

paddle-bot-old[bot] avatar Feb 08 '22 06:02 paddle-bot-old[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Sep 28 '24 07:09 CLAassistant