Skip to content

Comments

Add roundEven operator#859

Merged
fdwr merged 2 commits intowebmachinelearning:mainfrom
fdwr:roundEven
Jul 23, 2025
Merged

Add roundEven operator#859
fdwr merged 2 commits intowebmachinelearning:mainfrom
fdwr:roundEven

Conversation

@fdwr
Copy link
Collaborator

@fdwr fdwr commented Jun 5, 2025

partial interface MLGraphBuilder
{
    ...
+   MLOperand roundEven(MLOperand input, optional MLOperatorOptions options = {});
    ...
};

Mappings to backend functions:

RHE round halves to nearest even:


Preview | Diff

@fdwr fdwr requested a review from huningxin June 5, 2025 06:04
@fdwr fdwr mentioned this pull request Jun 5, 2025
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!

@fdwr
Copy link
Collaborator Author

fdwr commented Jun 6, 2025

LGTM!

👍 I'll give it a few days for others to look at too lest they have feedback. 🔍⏳

FYI @reillyeon @philloooo.

@fdwr fdwr merged commit 994122f into webmachinelearning:main Jul 23, 2025
2 checks passed
github-actions bot added a commit that referenced this pull request Jul 23, 2025
SHA: 994122f
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
anssiko pushed a commit that referenced this pull request Aug 8, 2025
* Add roundEven operator
* Update link-for
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.

Rounding operators

4 participants