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

Conv中gflops计算不正确 #411

Closed
shaundai-tencent opened this issue Sep 18, 2020 · 1 comment
Closed

Conv中gflops计算不正确 #411

shaundai-tencent opened this issue Sep 18, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@shaundai-tencent
Copy link
Collaborator

目前计算是
2.0 * DimsVectorUtils::Count(output_dims_) * output_dims_[1] / conv_params_.group * conv_params_.kernel_x * conv_params_.kernel_y / 1000.0 / 1000.0;
应该是
2.0 * DimsVectorUtils::Count(output_dims_) * input_dims_[1] / conv_params_.group * conv_params_.kernel_x * conv_params_.kernel_y / 1000.0 / 1000.0;

@neiltian-tencent
Copy link
Collaborator

fixed by e3ae1cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants