Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flops&bytes computation for bilinear_interp script #1285

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

AshburnLee
Copy link
Collaborator

功能

计算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个地址。

@paddle-bot-old
Copy link

paddle-bot-old bot commented Feb 8, 2022

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

@CLAassistant
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants