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

Eliminate array copy in NormalizeOp #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Eliminate array copy in NormalizeOp #14

wants to merge 1 commit into from

Conversation

am15h
Copy link
Contributor

@am15h am15h commented Jul 1, 2020

No description provided.

@xunkai55
Copy link
Contributor

xunkai55 commented Jul 3, 2020

@googlebot rescan

@xunkai55 xunkai55 added the ready to pull PR is reviewed and ready to be integrated label Jul 3, 2020
@xunkai55
Copy link
Contributor

xunkai55 commented Jul 3, 2020

Though it's not really "ready to pull", I'd assign this label to trigger an internal code sync, thus I can benchmark the change. Please stay tuned. Thanks!

@xunkai55 xunkai55 removed the ready to pull PR is reviewed and ready to be integrated label Jul 4, 2020
@xunkai55
Copy link
Contributor

xunkai55 commented Jul 4, 2020

Per benchmarking, the change has negative impact on performance of a followed Quantization Op in a typical image preprocessing pipeline:

Resize - Crop - Rotate - Normalize - Quantize

And performance of "Normalization" Op is not improved.

At the first glance, I suspect there's something with ByteBuffer.

Let's hold this for a while and I'll try spare some time investigating it.

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

Successfully merging this pull request may close these issues.

4 participants