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

cmsis-nn: Revert dynamic allocation for quant params #41121

Merged

Conversation

felix-johnny
Copy link
Contributor

File affected: cmsis-nn/depthwise_conv.cc

Dynamic allocation of memory for output shift and
multiplier fails(running whole networks) when
done together with scratch buffer for
optimization. The issue is tracked in b/158779832.
This patch reverts back to static allocation
for output shift and multiplier until the scratch buffer
issue is fixed.

File affected: cmsis-nn/depthwise_conv.cc

Dynamic allocation of memory for output shift and
multiplier fails(running whole networks) when
done together with scratch buffer for
optimization. The issue is tracked in b/158779832.
This patch reverts back to static allocation
for output shift and multiplier until the scratch buffer
issue is fixed.
@google-ml-butler google-ml-butler bot added the size:S CL Change Size: Small label Jul 6, 2020
@gbaned gbaned self-assigned this Jul 6, 2020
@gbaned gbaned added comp:lite TF Lite related issues comp:micro Related to TensorFlow Lite Microcontrollers labels Jul 6, 2020
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Jul 6, 2020
@gbaned gbaned requested a review from MeghnaNatraj July 6, 2020 11:18
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jul 6, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jul 6, 2020
@gbaned gbaned removed the ready to pull PR ready for merge process label Jul 6, 2020
@MeghnaNatraj MeghnaNatraj requested review from petewarden and advaitjain and removed request for MeghnaNatraj July 6, 2020 20:50
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Jul 6, 2020
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jul 6, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jul 6, 2020
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Jul 7, 2020
@tensorflow-copybara tensorflow-copybara merged commit 4848ed6 into tensorflow:master Jul 7, 2020
PR Queue automation moved this from Approved by Reviewer to Merged Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:lite TF Lite related issues comp:micro Related to TensorFlow Lite Microcontrollers ready to pull PR ready for merge process size:S CL Change Size: Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

7 participants