Skip to content
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

[webnn] Add float32 tests for element-wise unary identity operation #43177

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

BruceDai
Copy link
Contributor

@fdwr @huningxin @Honry PTAL, thanks.

Copy link

@fdwr fdwr left a comment

Choose a reason for hiding this comment

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

Bruce, thanks for implementing identity.

-2.8501904010772705,
3.279616355895996
],
"type": "float32"

This comment was marked as resolved.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about a float16 case?

I will submit another PR for only float16 tests.

And if you agree with my current solution of testing float16 tests on #42420, I will add such float16 tests soon.

Copy link

Choose a reason for hiding this comment

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

Okie dokie.

Copy link
Contributor

@Honry Honry left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@BruceDai BruceDai changed the title [webnn] Add float32 tests for element-wise unary copy operation [webnn] Add float32 tests for element-wise unary identity operation Nov 28, 2023
@BruceDai
Copy link
Contributor Author

BruceDai commented Nov 28, 2023

Hi @fdwr, I synced with @huningxin, we decided to rename copy tests to previous identity tests, since Chromium WebNN API implementation has already supported identity op, then these WPT identity tests can be ran, please take another look at this update, thanks.

Copy link
Contributor

@Honry Honry left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants