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

Drop data_format argument #1980

Merged

Conversation

WindQAQ
Copy link
Member

@WindQAQ WindQAQ commented Jul 9, 2020

Closes #1825. Should we have some warning on deprecated arguments?

@boring-cyborg boring-cyborg bot added the image label Jul 9, 2020
@WindQAQ WindQAQ requested a review from a team July 9, 2020 05:08
@bot-of-gabrieldemarmiesse

@fsx950223

You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

@AakashKumarNain
Copy link
Member

LGTM! Thanks

@AakashKumarNain AakashKumarNain merged commit 0dd08a9 into tensorflow:master Jul 9, 2020
@facaiy
Copy link
Member

facaiy commented Jul 12, 2020

Should we have some warning on deprecated arguments?

I think it's a good idea to warn user that the argument is not valid any more. And we can safely remove those warnings after 2~3 releases :-)

@WindQAQ
Copy link
Member Author

WindQAQ commented Jul 12, 2020

Should we have some warning on deprecated arguments?

I think it's a good idea to warn user that the argument is not valid any more. And we can safely remove those warnings after 2~3 releases :-)

Sounds good to me. Should we revert the change and add the warning?

@facaiy
Copy link
Member

facaiy commented Jul 12, 2020

Great, it's not necessary to revert the change, let's just add the warning :-)

@facaiy
Copy link
Member

facaiy commented Jul 12, 2020

which package to add warninig, Tzu-wei ? eg: deprecation, etc

@WindQAQ
Copy link
Member Author

WindQAQ commented Jul 12, 2020

which package to add warninig, Tzu-wei ? eg: deprecation, etc

This looks like what we deal with deprecation.

@facaiy
Copy link
Member

facaiy commented Jul 12, 2020

Thanks, I'm fine with it

@WindQAQ WindQAQ mentioned this pull request Jul 12, 2020
WindQAQ added a commit that referenced this pull request Jul 12, 2020
ashutosh1919 pushed a commit to ashutosh1919/addons that referenced this pull request Jul 12, 2020
* Drop data_format arg

* Drop data_format args
WindQAQ added a commit that referenced this pull request Jul 12, 2020
jrruijli pushed a commit to jrruijli/addons that referenced this pull request Dec 23, 2020
* Drop data_format arg

* Drop data_format args
jrruijli pushed a commit to jrruijli/addons that referenced this pull request Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent APIs within tfa.image and between tf.image and tfa.image
5 participants