Skip to content

Comments

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

Merged
Honry merged 3 commits intoweb-platform-tests:masterfrom
BruceDai:add_webnn_copy_tests
Nov 28, 2023
Merged

[webnn] Add float32 tests for element-wise unary identity operation#43177
Honry merged 3 commits intoweb-platform-tests:masterfrom
BruceDai:add_webnn_copy_tests

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