Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Fixed computed output shape of matmul op. #189

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

BruceDai
Copy link
Collaborator

@mingmingtasd PTAL, and there's the same issue for webnn-native: https://github.com/webmachinelearning/webnn-native/blob/main/src/webnn/native/ops/Binary.cpp#L57, please help fix it, thanks.

Copy link

@mingmingtasd mingmingtasd left a comment

Choose a reason for hiding this comment

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

LGTM. But there is no test case to cover and validate, should we add more?

@BruceDai
Copy link
Collaborator Author

BruceDai commented Nov 22, 2022

Hi @mingmingtasd, I caught this issue by this new mamul 3D x 1D test for WPT.

Copy link

@mingmingtasd mingmingtasd left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

@BruceDai
Copy link
Collaborator Author

@mingmingtasd Updated, please take another look, thanks.

src/nn/ops/binary.ts Outdated Show resolved Hide resolved
@BruceDai BruceDai force-pushed the fix_matmul_outputshape branch from fe6aff2 to 22fe520 Compare November 24, 2022 01:38
Copy link

@mingmingtasd mingmingtasd 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 force-pushed the fix_matmul_outputshape branch from 22fe520 to b46181d Compare November 24, 2022 02:08
@BruceDai
Copy link
Collaborator Author

Thanks @mingmingtasd for reviewing, I will merge it.

@BruceDai BruceDai merged commit c011e73 into webmachinelearning:master Nov 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants