Fix api_docs for to_ordinal#17485
Merged
copybara-service[bot] merged 3 commits intokeras-team:masterfrom Jan 27, 2023
Merged
Conversation
new line creates abnormality in api_docs in https://www.tensorflow.org/api_docs/python/tf/keras/utils/to_ordinal
Contributor
Author
Glad to contribute :) |
copybara-service bot
pushed a commit
that referenced
this pull request
Jan 27, 2023
Imported from GitHub PR #17485 This PR will resolve two issues and add an explanation for `to_ordinal` utility, recently merged in #17419. It will, 1. Resolve a grammatical error in `Return` 2. Resolve abnormality in api_docs due to a new line in the docstring. [api_docs link](https://www.tensorflow.org/api_docs/python/tf/keras/utils/to_ordinal) <img src="https://user-images.githubusercontent.com/36858976/215018234-4e7b424d-c6df-4baf-89ba-cc561314578f.png" width=300> 3. Add a little explanation for `to_ordinal` cc: @haifeng-jin Copybara import of the project: -- db1ec98 by Awsaf <awsaf49@gmail.com>: fix grammar -- bc8929c by Awsaf <awsaf49@gmail.com>: fix for newline in api_docs] new line creates abnormality in api_docs in https://www.tensorflow.org/api_docs/python/tf/keras/utils/to_ordinal -- 3ab1d2e by Awsaf <awsaf49@gmail.com>: add little explanation Merging this change closes #17485 FUTURE_COPYBARA_INTEGRATE_REVIEW=#17485 from awsaf49:to_ordinal 3ab1d2e PiperOrigin-RevId: 505141352
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will resolve two issues and add an explanation for
to_ordinalutility, recently merged in #17419.It will,
Returnto_ordinalcc: @haifeng-jin