-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 WebNN API expand op #43559
[webnn] Add float32 tests for WebNN API expand op #43559
Conversation
@@ -660,10 +661,11 @@ const buildPad = (operationName, builder, resources) => { | |||
}; | |||
|
|||
const buildReshape = (operationName, builder, resources) => { | |||
// MLOperand reshape(MLOperand input, sequence<unsigned long?> newShape); | |||
// MLOperand reshape(MLOperand input, sequence<unsigned long> newShape); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, what does this commented line mean? Does it mean you're implementing that API function here? If so, suggest adding that to the comment:
// Implements:
// MLOperand reshape(MLOperand input, sequence<unsigned long> newShape);
// MLOperand reshape(MLOperand input, sequence<unsigned long> newShape);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed '?' character since Chromium CL#5060264 - Drop null value support in newShape parameter for reshape has already been merged, link to webmachinelearning/webnn#388.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aha.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@fdwr @Honry @mei1127 @fujunwei PTAL, thanks.