Skip to content

Add roundEven operator #859

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

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.

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