Skip to content

OP implementation: Round(11) - #1536

Closed
fs-eire wants to merge 1 commit into
microsoft:masterfrom
fs-eire:round
Closed

OP implementation: Round(11)#1536
fs-eire wants to merge 1 commit into
microsoft:masterfrom
fs-eire:round

Conversation

@fs-eire

@fs-eire fs-eire commented Aug 1, 2019

Copy link
Copy Markdown
Contributor

Description: Add implementation of operator Round (opset 11)

Motivation and Context

  • Round is a new operator introduced in opset 11.

@fs-eire
fs-eire requested a review from a team as a code owner August 1, 2019 03:56
Round,
11,
float,
KernelDefBuilder().TypeConstraint("T", DataTypeImpl::GetTensorType<float>()),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can these kernels be declared with MayInplace(0, 0)? The implementation would seem to support that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It looks like no MayImplace is declared in this file for other similar operators (eg. Abs, all trigonometric functions) in this files. Is there any reason for not doing that?

If Round is not the only operator to apply MayImplace, I would like to add the declarations to all applicable operators in a separated PR.

@ke1337

ke1337 commented Oct 22, 2019

Copy link
Copy Markdown
Contributor

Seems replaced by #1705, is this PR still need?

@fs-eire

fs-eire commented Oct 30, 2019

Copy link
Copy Markdown
Contributor Author

Seems replaced by #1705, is this PR still need?

Close this PR.

@fs-eire fs-eire closed this Oct 30, 2019
yuslepukhin pushed a commit that referenced this pull request Mar 17, 2026
## Describe your changes

Add `onnxscript` and `onnxoptimizer` optimize API details to the
document.

## Checklist before requesting a review
- [ ] Add unit tests for this change.
- [ ] Make sure all tests can pass.
- [ ] Update documents if necessary.
- [ ] Lint and apply fixes to your code by running `lintrunner -a`
- [ ] Is this a user-facing change? If yes, give a description of this
change to be included in the release notes.
- [ ] Is this PR including examples changes? If yes, please remember to
update [example
documentation](https://github.com/microsoft/Olive/blob/main/docs/source/examples.md)
in a follow-up PR.

## (Optional) Issue link
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.

3 participants