Bug 1882714 [wpt PR 44850] - WebNN: Define lstm in mojo, a=testonly
commit55021abb387b8497487285bc5926e45950e1ae8d
authorShiyi Zou <shiyi.zou@intel.com>
Tue, 12 Mar 2024 22:31:42 +0000 (12 22:31 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 14 Mar 2024 08:38:48 +0000 (14 08:38 +0000)
tree2228398c1fc6901ba843b8e75caf0b619488c3c4
parentf2d63e44894e9ff78578825b30f30d36967d95d6
Bug 1882714 [wpt PR 44850] - WebNN: Define lstm in mojo, a=testonly

Automatic update from web-platform-tests
WebNN: Define lstm in mojo

This CL adds lstm in `MLGraphBuilder`, and implements
CreateLstmOperation() for creating mojo lstm operation on the blink
side, and adds operation validation on the service side.

This CL also adds lstm validation tests in WPT and unit tests in
`WebNNGraphImplTest`.

Bug: 40206287
Change-Id: I53f98b366a145859f2d3c52f2bb240c6ae370197
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5312140
Commit-Queue: Shiyi Zou <shiyi.zou@intel.com>
Auto-Submit: Shiyi Zou <shiyi.zou@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1269398}

--

wpt-commits: 1c093773bed4a2076891b21c150e4f49e0a01930
wpt-pr: 44850
testing/web-platform/tests/webnn/validation_tests/lstm.https.any.js [new file with mode: 0644]