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

Extract a function for parsing op DEPTH_TO_SPACE #46026

Conversation

rkuester
Copy link
Contributor

Extract the parsing of op parameters from the flatbuffer out of a
switch statement case, into a standalone function which can be
called by the micro op resolver.

This PR is part of the work to port operator DEPTH_TO_SPACE
from lite to micro, as tracked in issue #46025.

Extract the parsing of op parameters from the flatbuffer out of a
switch statement case, into a standalone function which can be
called by the micro op resolver.
@google-ml-butler google-ml-butler bot added the size:S CL Change Size: Small label Dec 29, 2020
@google-cla google-cla bot added the cla: yes label Dec 29, 2020
@rkuester rkuester self-assigned this Dec 29, 2020
@rkuester rkuester added the comp:micro Related to TensorFlow Lite Microcontrollers label Dec 29, 2020
@gbaned gbaned self-assigned this Dec 29, 2020
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Dec 29, 2020
@petewarden petewarden requested review from petewarden and removed request for advaitjain December 30, 2020 18:11
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Dec 30, 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 Dec 30, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Dec 30, 2020
@petewarden petewarden added the kokoro:force-run Tests on submitted change label Dec 30, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Dec 30, 2020
@google-ml-butler google-ml-butler bot removed the ready to pull PR ready for merge process label Dec 30, 2020
@@ -1059,7 +1059,7 @@ TfLiteStatus ParseDepthToSpace(const Operator* op,
if (schema_params != nullptr) {
params->block_size = schema_params->block_size();
} else {
// TODO(b/157480169): We should either return kTfLiteError or fill in some
// old todo (b/157480169): We should either return kTfLiteError or fill in some
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do want to keep this TODO as is. If it is triggering some failure in the CI then we'll need to fix the CI. Can you please change it back to TODO(b/): and then I'll take a look at what the CI error is.

PR Queue automation moved this from Approved by Reviewer to Reviewer Requested Changes Dec 30, 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 Jan 2, 2021
PR Queue automation moved this from Reviewer Requested Changes to Approved by Reviewer Jan 2, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jan 2, 2021
@advaitjain
Copy link
Member

All checks are passing.

Merging a PR needs two approvals from a Googler so we'll need to wait until @petewarden can approve the change in the internal review system before this can be merged.

Merge branch 'master' of https://github.com/tensorflow/tensorflow
into feature-micro-add-op-depth-to-space-pr1
@google-ml-butler google-ml-butler bot removed the ready to pull PR ready for merge process label Jan 5, 2021
@gbaned gbaned requested a review from advaitjain January 7, 2021 14:54
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jan 11, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jan 11, 2021
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Jan 12, 2021
@rkuester
Copy link
Contributor Author

@advaitjain not sure what internal check this one is failing.

@advaitjain
Copy link
Member

The failing tests are internal, unrelated and currently flaky. I have set the internal change to submit while ignoring these tests. This PR should get merged shortly.

@copybara-service copybara-service bot merged commit 2a5d6c6 into tensorflow:master Jan 13, 2021
PR Queue automation moved this from Approved by Reviewer to Merged Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes 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

5 participants