Skip to content

Comments

Rename where()'s parameters "input" and "other" to "trueValue" and "falseValue"#719

Merged
fdwr merged 1 commit intowebmachinelearning:mainfrom
shiyi9801:where
Jul 11, 2024
Merged

Rename where()'s parameters "input" and "other" to "trueValue" and "falseValue"#719
fdwr merged 1 commit intowebmachinelearning:mainfrom
shiyi9801:where

Conversation

@shiyi9801
Copy link
Contributor

@shiyi9801 shiyi9801 commented Jul 9, 2024

(This PR was raised by @philloooo in CL-5679616 review)

@wacky6 suggested using trueValue falseValue to indicate the values are picked based on true/false of condition in CL-5039655 review. Also the current Chromium implementation uses names trueValue and falseValue.


Preview | Diff

@inexorabletash
Copy link
Contributor

@shiyi9801 can you follow the instructions at https://labs.w3.org/repo-manager/pr/id/webmachinelearning/webnn/719 to link a W3C account to your github account? That will resolve this and any future IPR issues.

@shiyi9801
Copy link
Contributor Author

@shiyi9801 can you follow the instructions at https://labs.w3.org/repo-manager/pr/id/webmachinelearning/webnn/719 to link a W3C account to your github account? That will resolve this and any future IPR issues.

Done, thanks for the instruction!

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

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

LGTM!

@huningxin huningxin requested a review from fdwr July 11, 2024 04:21
@fdwr
Copy link
Collaborator

fdwr commented Jul 11, 2024

Yes please. Thank you. Clarity++.

@fdwr fdwr merged commit fe96a78 into webmachinelearning:main Jul 11, 2024
github-actions bot added a commit that referenced this pull request Jul 11, 2024
SHA: fe96a78
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants