Skip to content

NFC - minor spelling tweaks under lite directory - #35286

Closed
kiszk wants to merge 5 commits into
tensorflow:masterfrom
kiszk:spelling_tweaks_lite
Closed

kiszk wants to merge 5 commits into
tensorflow:masterfrom
kiszk:spelling_tweaks_lite

Conversation

@kiszk

@kiszk kiszk commented Dec 19, 2019

Copy link
Copy Markdown
Contributor

This PR addresses minor spelling tweaks under tensorflow/lite directory.
follow-on of #34958

@kiszk

kiszk commented Dec 20, 2019

Copy link
Copy Markdown
Contributor Author

cc @jaingaurav

@gbaned gbaned self-assigned this Dec 20, 2019
@gbaned gbaned added the comp:lite TF Lite related issues label Dec 20, 2019
@gbaned
gbaned requested a review from renjie-liu December 20, 2019 04:10
Comment thread tensorflow/lite/python/op_hint.py Outdated
In particular, if you have 4 inputs to a hint stub, this will be the
node that you can use as an output. I.e. you have 4 timesteps from a
static rnn, then a fused UnidriecitonalLSTM will expect 1 input with
static rnn, then a fused UndirecitonalLSTM will expect 1 input with

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

UnidirectiontionalLSTM

std::string some_name = "something";
// Don't test float in this case, because precision is hard to predict and
// match against, and we don't want a flakey test.
// match against, and we don't want a franky test.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

flaky

@renjie-liu renjie-liu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks a lot for the fix!

@kiszk

kiszk commented Dec 20, 2019

Copy link
Copy Markdown
Contributor Author

@renjie-liu Thank you for pointing them out. I addressed both of them.

namespace {

std::string GetMaxUnoolingKernelCode(
std::string GetMaxUnroolingKernelCode(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should this be unpooling?

if (depth != 1) {
return InvalidArgumentError(absl::StrCat(
"SINGLE_TEXTURE_2D support only cnannels in range [1-4], but ",
"SINGLE_TEXTURE_2D support only chnannels in range [1-4], but ",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

channels

Comment thread tensorflow/lite/python/op_hint.py Outdated
In particular, if you have 4 inputs to a hint stub, this will be the
node that you can use as an output. I.e. you have 4 timesteps from a
static rnn, then a fused UnidriecitonalLSTM will expect 1 input with
static rnn, then a fused UndirectionalLSTM will expect 1 input with

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this does not seem to be changed?

this should be UnidirectionalLSTM

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You are right. sorry for my overlooking.

@renjie-liu renjie-liu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks, looks good! please resolve the inline comments

@kiszk

kiszk commented Dec 21, 2019

Copy link
Copy Markdown
Contributor Author

@renjie-liu Thank you. Addressed your three comments.

renjie-liu
renjie-liu previously approved these changes Dec 22, 2019

Status MaxUnpooling::Compile(const CreationContext& creation_context) {
const auto code = GetMaxUnoolingKernelCode(
const auto code = GetMaxUnroolingKernelCode(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this should be changed as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you again, done

@tensorflow-bot tensorflow-bot Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Dec 22, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Dec 22, 2019
renjie-liu
renjie-liu previously approved these changes Dec 23, 2019
@tensorflow-bot tensorflow-bot Bot added the kokoro:force-run Tests on submitted change label Dec 23, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Dec 23, 2019
@gbaned gbaned added the kokoro:force-run Tests on submitted change label Dec 23, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Dec 23, 2019
@gbaned

gbaned commented Dec 23, 2019

Copy link
Copy Markdown
Contributor

@kiszk Can you please address Ubuntu Sanity errors? Thanks!

@gbaned gbaned added stat:awaiting response Status - Awaiting response from author and removed ready to pull PR ready for merge process labels Dec 23, 2019
@kiszk

kiszk commented Dec 23, 2019

Copy link
Copy Markdown
Contributor Author

Thank you for pinging me. I overlooked pylint error. I have just pushed the fixes.

@kiszk

kiszk commented Feb 29, 2020

Copy link
Copy Markdown
Contributor Author

@gbaned @mihaimaruseac Resolved a conflict again.

@mihaimaruseac mihaimaruseac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably it would be better to split this even more given that it keeps getting into conflicts.

Let's give it one more try but if we get new conflicts let's try splitting on the next directory level.

@mihaimaruseac

Copy link
Copy Markdown
Contributor

Manually imported the change and synced to head again. If this still fails to merge I'll suggest splitting it as per previous comment

@mihaimaruseac

Copy link
Copy Markdown
Contributor

Turns out this fails to merge properly. I'm starting a new run to eliminate transient errors but I think it would be better to split it (and resync on master). Apologies for the extra work you'll have to do.

@mihaimaruseac mihaimaruseac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be split based on subdirectories of tensorflow/lite

@gbaned

gbaned commented Mar 5, 2020

Copy link
Copy Markdown
Contributor

@kiszk Can you please check mihaimaruseac's comments and keep us posted? Thanks!

@kiszk

kiszk commented Mar 5, 2020

Copy link
Copy Markdown
Contributor Author

@gbaned thank you for pinging me. I overlooked the comments. I will split this PR into multiple PRs within next few days

tensorflow/lite/
tensorflow/lite/c
tensorflow/lite/delegates
tensorflow/lite/experimental
tensorflow/lite/g3doc
tensorflow/lite/kernels
tensorflow/lite/lib_package
tensorflow/lite/micro
tensorflow/lite/python
tensorflow/lite/testing
tensorflow/lite/toco
tensorflow/lite/tools

@gbaned

gbaned commented Mar 5, 2020

Copy link
Copy Markdown
Contributor

@kiszk Sure, Thank you very much for the update.

@mihaimaruseac

Copy link
Copy Markdown
Contributor

You can ping me/assign to me all of the subsequent PRs. Thank you

@mihaimaruseac

Copy link
Copy Markdown
Contributor

Once all subdirectories are fixed, we can sync this back on master to get the files that are left out. Or, we can just close it now and get the other PRs as needed.

Thank you for all the fixes.

@kiszk

kiszk commented Mar 18, 2020

Copy link
Copy Markdown
Contributor Author

I created all of sub-PRs. When they are closed, I think that it would be good to close this PR, too.

@mihaimaruseac

Copy link
Copy Markdown
Contributor

Sounds good. Thank you

@mihaimaruseac

Copy link
Copy Markdown
Contributor

Everything seems solved. Let's rebase this on master if there is still work left to do or close otherwise.

Thank you

@kiszk

kiszk commented Mar 22, 2020

Copy link
Copy Markdown
Contributor Author

@mihaimaruseac Thank you very much. It is the time to close this.

@mihaimaruseac

Copy link
Copy Markdown
Contributor

Thank you for all the work and for the patience to carry on these PRs over 4 months

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 size:L CL Change Size: Large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants